@@ -269,7 +269,6 @@ jobs:
269269 needs : setup
270270 if : needs.setup.outputs.packages-count != '0'
271271 runs-on : ubuntu-latest
272- timeout-minutes : 720
273272 env :
274273 PACKAGES : ${{ needs.setup.outputs.packages }}
275274 CRASHTRACKER_FEATURE : ${{ needs.setup.outputs.crashtracker-feature }}
@@ -298,7 +297,7 @@ jobs:
298297 cache-bin : true # cache the ~/.cargo/bin directory
299298 - name : Build CentOS 7 Docker image
300299 run : docker build -t libdatadog-centos7 -f tools/docker/Dockerfile.centos .
301- - name : " cargo nextest run (centos7) x100 "
300+ - name : " cargo nextest run (centos7)"
302301 # Run docker as a user, not the default root
303302 # Mount and use the runner's toolchain as it's the same arch
304303 # exclude tracing integration tests since they require docker in docker to run a test-agent
@@ -311,20 +310,17 @@ jobs:
311310 # shellcheck disable=SC2086
312311 NEXTEST_CMD="cargo nextest run $PACKAGES $CRASHTRACKER_FEATURE --profile ci --no-tests=pass -E '!test(tracing_integration_tests::)'"
313312 fi
314- for i in $(seq 1 100); do
315- echo "=== Run $i/100 ==="
316- docker run --rm \
317- --user "$(id -u):$(id -g)" \
318- -v "${{ github.workspace }}:/workspace" \
319- -v "${CARGO_HOME:-$HOME/.cargo}:/usr/local/cargo" \
320- -v "${RUSTUP_HOME:-$HOME/.rustup}:/usr/local/rustup" \
321- -e CARGO_HOME=/usr/local/cargo \
322- -e RUSTUP_HOME=/usr/local/rustup \
323- -e PATH=/usr/local/cargo/bin:/usr/local/rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:/opt/rh/devtoolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
324- -w /workspace \
325- libdatadog-centos7 \
326- sh -c "$NEXTEST_CMD"
327- done
313+ docker run --rm \
314+ --user "$(id -u):$(id -g)" \
315+ -v "${{ github.workspace }}:/workspace" \
316+ -v "${CARGO_HOME:-$HOME/.cargo}:/usr/local/cargo" \
317+ -v "${RUSTUP_HOME:-$HOME/.rustup}:/usr/local/rustup" \
318+ -e CARGO_HOME=/usr/local/cargo \
319+ -e RUSTUP_HOME=/usr/local/rustup \
320+ -e PATH=/usr/local/cargo/bin:/usr/local/rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:/opt/rh/devtoolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
321+ -w /workspace \
322+ libdatadog-centos7 \
323+ sh -c "$NEXTEST_CMD"
328324 - name : Add file attributes to JUnit XML
329325 if : success() || failure()
330326 run : cargo run --bin add_junit_file_attributes -- target/nextest/ci/junit.xml
0 commit comments