Skip to content

Commit 914a290

Browse files
fix(ci): pre-download RoadRunner before proxy cleanup
1 parent 645c602 commit 914a290

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.gitlab/generate-tracer.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,14 @@ function before_script_steps($with_docker_auth = false) {
569569
- if [[ "$MAKE_TARGET" != "test_composer" ]] || ! [[ "$PHP_MAJOR_MINOR" =~ 8.[01] ]]; then sudo composer self-update --$COMPOSER_VERSION --no-interaction; fi
570570
- COMPOSER_MEMORY_LIMIT=-1 composer update --no-interaction # disable composer memory limit completely
571571
- make composer_tests_update
572+
- |
573+
if [[ "$MAKE_TARGET" == "test_integrations_roadrunner" ]]; then
574+
version=2.11.4 # Keep in sync with the RoadRunner integration tests.
575+
archive="roadrunner-$version-linux-$ARCH"
576+
curl -fsSL "https://github.com/roadrunner-server/roadrunner/releases/download/v$version/$archive.tar.gz" |
577+
tar xz -O -f - "$archive/rr" > "tests/Sapi/Roadrunner/rr-$version-$ARCH"
578+
chmod +x "tests/Sapi/Roadrunner/rr-$version-$ARCH"
579+
fi
572580
- .gitlab/wait-for-service-ready.sh
573581
script:
574582
# The Fabric proxy changes network failure semantics in integration tests.

0 commit comments

Comments
 (0)