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'
This commit is contained in:
E M 2026-04-09 20:33:16 +10:00
parent 99eb388362
commit 271d2aec51
No known key found for this signature in database
2 changed files with 8 additions and 1 deletions

View File

@ -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:

View File

@ -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