From d8574ce8de21333e7f07eed42efeb0f8a266da79 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Sat, 19 Sep 2026 13:32:12 +0000 Subject: [PATCH] Let the CI chaos legs use the test image the job already built The chaos step set no FIPS_TEST_IMAGE, so the chaos runner built fips-test:latest from testing/docker a second time on each of the five chaos legs, after the job had already built it. Each of those builds was one more registry contact that could time out. Pass the job's image in, as the native-api step already does, and the runner uses it. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d53d00ce..e360605d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -638,8 +638,12 @@ jobs: if: matrix.type == 'chaos' run: pip3 install --quiet pyyaml jinja2 + # With FIPS_TEST_IMAGE set, the chaos runner uses the image the job built + # above instead of building fips-test:latest again (testing/chaos/sim/runner.py). - name: Run chaos scenario if: matrix.type == 'chaos' + env: + FIPS_TEST_IMAGE: fips-test:latest run: bash testing/chaos/scripts/chaos.sh ${{ matrix.scenario }} ${{ matrix.chaos_flags }} - name: Upload sim results on failure (chaos)