From a7b6366098572415f396f8c0a797cf9a966d6bb9 Mon Sep 17 00:00:00 2001 From: Kirill Azovtsev Date: Sun, 10 Nov 2024 22:35:44 +0300 Subject: [PATCH] zombie-tester custom tag --- .github/workflows/zombie-builder.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/zombie-builder.yml b/.github/workflows/zombie-builder.yml index f7d60ea773..844131ef1c 100644 --- a/.github/workflows/zombie-builder.yml +++ b/.github/workflows/zombie-builder.yml @@ -35,6 +35,11 @@ on: default: 'latest' required: false type: 'string' + zombie_tester_latest_tag: + description: 'Custom Zombie Tester tag' + default: 'latest' + required: false + type: 'string' env: DOCKER_REGISTRY_PATH: ${{ secrets.GCP_REGISTRY }}/${{ secrets.GCP_PROJECT }}/kagome-dev/ @@ -44,6 +49,7 @@ env: CACHE_PATHS: ./zombienet/docker/cargo POLKADOT_SDK_TAG: ${{ github.event.inputs.polkadot_sdk_tag }} BUILDER_LATEST_TAG: ${{ github.event.inputs.builder_latest_tag }} + TESTER_LATEST_TAG: ${{ github.event.inputs.zombie_tester_latest_tag }} jobs: build_polkadot_builder: @@ -221,16 +227,17 @@ jobs: echo "exists=$TAG_EXISTS" >> $GITHUB_ENV echo "zombie_tester_image=$ZOMBIE_TESTER_IMAGE" >> $GITHUB_OUTPUT - - name: "Build Polkadot Builder" + - name: "Build Zombie Tester" working-directory: ./zombienet/docker if: env.exists == 'false' || github.event.inputs.zombie_tester_image_rebuild == 'true' run: make zombie_tester \ DOCKER_REGISTRY_PATH=${DOCKER_REGISTRY_PATH} \ GOOGLE_APPLICATION_CREDENTIALS=${GOOGLE_APPLICATION_CREDENTIALS} \ PROJECT_ID=${{ secrets.GCP_PROJECT }} \ + TESTER_LATEST_TAG=${{ env.TESTER_LATEST_TAG }} \ POLKADOT_BINARY_PACKAGE_VERSION="${POLKADOT_BINARY_PACKAGE_VERSION}" - - name: "Push Polkadot Builder" + - name: "Push Zombie Tester" working-directory: ./zombienet/docker if: env.exists == 'false' || github.event.inputs.zombie_tester_image_rebuild == 'true' run: make zombie_tester_push \