Skip to content

Commit

Permalink
zombie-tester custom tag
Browse files Browse the repository at this point in the history
  • Loading branch information
qdrvm-ci committed Nov 10, 2024
1 parent 64003c1 commit a7b6366
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/zombie-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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:
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit a7b6366

Please sign in to comment.