From ba28e01af5a42f00f76b6a27a86024f8c92a4026 Mon Sep 17 00:00:00 2001 From: E M <5089238+emizzle@users.noreply.github.com> Date: Thu, 9 Apr 2026 20:33:16 +1000 Subject: [PATCH] Add workflow input for cs-dist-tests docker image By default, the logosstorage/logos-storage-nim-cs-dist-tests:latest image will be used for the test runner in the release tests. However, if developers want to run the release tests and test changes to the runner (eg changes in the logos-storage-nim-cs-dist-tests repo), they can push their changes to a branch and manually run the `docker-runner` workflow in the logos-storage-nim-cs-dist-tests repo. This will create an image like logosstorage/logos-storage-nim-cs-dist-tests:sha-c0465a5. This image can then be used as a release tests workflow input for 'cs-dist-tests runner image' --- .github/release/job-release-tests.yaml | 2 +- .github/workflows/release.yml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/release/job-release-tests.yaml b/.github/release/job-release-tests.yaml index 4c1b636e..710c89a8 100644 --- a/.github/release/job-release-tests.yaml +++ b/.github/release/job-release-tests.yaml @@ -22,7 +22,7 @@ spec: workload-type: "tests-runners-ci" containers: - name: runner - image: logosstorage/cs-codex-dist-tests:latest + image: ${RUNNER_IMAGE} imagePullPolicy: Always resources: requests: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65ea36d5..d8117533 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,12 @@ on: branches: - master workflow_dispatch: + inputs: + runner_image: + description: 'cs-dist-tests runner image (default: logosstorage/cs-codex-dist-tests:latest)' + required: false + default: 'logosstorage/cs-codex-dist-tests:latest' + type: string env: cache_nonce: 0 # Allows for easily busting actions/cache caches @@ -205,6 +211,7 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_KEY }} CODEXDOCKERIMAGE: ${{ needs.build-docker-dist-tests.outputs.logos_storage_image }} + RUNNER_IMAGE: ${{ inputs.runner_image || 'logosstorage/cs-codex-dist-tests:latest' }} NAMESPACE: default TEST_TYPE: release-tests BRANCH: master