Skip to content

Commit

Permalink
add GCP env variables to all steps (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian authored Aug 23, 2024
1 parent 5a8a4f5 commit b56e8a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,19 @@ steps:
- 'image'
- 'deployment/graphix-cross-checker'
- 'graphix-cross-checker=ghcr.io/${_GITHUB_REPO_OWNER}/graphix:latest'
env:
- 'CLOUDSDK_COMPUTE_ZONE=us-central1-a'
- 'CLOUDSDK_CONTAINER_CLUSTER=testnet'

# Restart the deployment
- name: 'gcr.io/cloud-builders/kubectl'
args:
- 'rollout'
- 'restart'
- 'deployment/graphix-cross-checker'
env:
- 'CLOUDSDK_COMPUTE_ZONE=us-central1-a'
- 'CLOUDSDK_CONTAINER_CLUSTER=testnet'

substitutions:
_GITHUB_REPO_OWNER: 'edgeandnode'

0 comments on commit b56e8a6

Please sign in to comment.