Skip to content

Commit

Permalink
Updating cloud build
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWoodard committed Nov 5, 2023
1 parent b345151 commit b9cd867
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@ steps:
- name: "gcr.io/cloud-builders/docker"
args: ["push", "gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"]
- name: "gcr.io/cloud-builders/gcloud"
entrypoint: "bash"
args:
[
"compute",
"instance-templates",
"create-with-container",
"liquidator-template-$COMMIT_SHA",
"--container-image=gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA",
"--container-env=WALLET_ADDRESS=$$WALLET_ADDRESS,WALLET_PRIVATE_KEY=$$WALLET_PRIVATE_KEY,API_TOKEN=$$API_TOKEN,ALCHEMY_API_KEY=$$ALCHEMY_API_KEY,SLACK_WEBHOOK0=$$SLACK_WEBHOOK0,SLACK_WEBHOOK1=$$SLACK_WEBHOOK1,SLACK_WEBHOOK2=$$SLACK_WEBHOOK2,SENTRY_DSN0=$$SENTRY_DSN0,SENTRY_DSN1=$$SENTRY_DSN1,SENTRY_DSN2=$$SENTRY_DSN2",
"-c",
"gcloud compute instance-templates create-with-container liquidator-template-$COMMIT_SHA --container-image=gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA --container-env=WALLET_ADDRESS=$WALLET_ADDRESS,WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY,API_TOKEN=$API_TOKEN,ALCHEMY_API_KEY=$ALCHEMY_API_KEY,SLACK_WEBHOOK0=$SLACK_WEBHOOK0,SLACK_WEBHOOK1=$SLACK_WEBHOOK1,SLACK_WEBHOOK2=$SLACK_WEBHOOK2,SENTRY_DSN0=$SENTRY_DSN0,SENTRY_DSN1=$SENTRY_DSN1,SENTRY_DSN2=$SENTRY_DSN2 --zone=us-central1-a",
]
secretEnv:
[
Expand Down

0 comments on commit b9cd867

Please sign in to comment.