Skip to content

Commit

Permalink
Fix network parameter in continous-delivery.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Nov 23, 2022
1 parent 0db7183 commit bc48288
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
- published

env:
NETWORK: Mainnet
DEFAULT_NETWORK: Mainnet
GAR_BASE: us-docker.pkg.dev/zealous-zebra/zebra
REGION: us-central1
ZONE: us-central1-a
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
dockerfile_path: ./docker/Dockerfile
dockerfile_target: runtime
image_name: zebrad
network: Mainnet
network: ${{ inputs.network || env.DEFAULT_NETWORK }}
checkpoint_sync: true
rust_backtrace: '1'
zebra_skip_ipv6_tests: '1'
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
--container-mount-disk mount-path="/zebrad-cache",name=zebrad-cache-${{ env.GITHUB_SHA_SHORT }} \
--machine-type ${{ env.MACHINE_TYPE }} \
--scopes cloud-platform \
--labels=app=zebrad,environment=prod,network=${{env.NETWORK}},github_ref=${{ env.GITHUB_REF_SLUG_URL }} \
--labels=app=zebrad,environment=prod,network=${{ inputs.network || env.DEFAULT_NETWORK }},github_ref=${{ env.GITHUB_REF_SLUG_URL }} \
--tags zebrad
# Check if our destination instance group exists already
Expand Down Expand Up @@ -208,5 +208,5 @@ jobs:
--container-mount-disk mount-path='/zebrad-cache',name=zebrad-cache-${{ env.GITHUB_SHA_SHORT }} \
--machine-type ${{ env.MACHINE_TYPE }} \
--zone ${{ env.ZONE }} \
--labels=app=zebrad,environment=qa,network=${{env.NETWORK}},github_ref=${{ env.GITHUB_REF_SLUG_URL }} \
--labels=app=zebrad,environment=qa,network=${{ inputs.network || env.DEFAULT_NETWORK }},github_ref=${{ env.GITHUB_REF_SLUG_URL }} \
--tags zebrad

0 comments on commit bc48288

Please sign in to comment.