Skip to content

Commit

Permalink
chore(ci): use wait for commit go version in downstream ci (GoogleClo…
Browse files Browse the repository at this point in the history
  • Loading branch information
iyabchen committed May 15, 2024
1 parent 8ad7f68 commit f5fb3aa
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions .ci/gcb-push-downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,41 +30,45 @@ steps:
waitFor: ["checkout"]

# TPG
- name: 'gcr.io/graphite-docker-images/bash-plus'
entrypoint: '/workspace/.ci/scripts/bash-plus/downstream-waiter/wait_for_commit.sh'
- name: 'gcr.io/graphite-docker-images/go-plus'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tpg-sync
waitFor: ["checkout"]
waitFor: ["build-magician-binary"]
args:
- wait-for-commit
- 'tpg-sync'
- $BRANCH_NAME
- $COMMIT_SHA

# TPGB
- name: 'gcr.io/graphite-docker-images/bash-plus'
entrypoint: '/workspace/.ci/scripts/bash-plus/downstream-waiter/wait_for_commit.sh'
- name: 'gcr.io/graphite-docker-images/go-plus'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tpgb-sync
waitFor: ["checkout"]
waitFor: ["build-magician-binary"]
args:
- wait-for-commit
- 'tpgb-sync'
- $BRANCH_NAME
- $COMMIT_SHA

# TGC
- name: 'gcr.io/graphite-docker-images/bash-plus'
entrypoint: '/workspace/.ci/scripts/bash-plus/downstream-waiter/wait_for_commit.sh'
- name: 'gcr.io/graphite-docker-images/go-plus'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tgc-sync
waitFor: ["checkout"]
waitFor: ["build-magician-binary"]
args:
- wait-for-commit
- 'tgc-sync'
- $BRANCH_NAME
- $COMMIT_SHA

# TF-OICS
- name: 'gcr.io/graphite-docker-images/bash-plus'
entrypoint: '/workspace/.ci/scripts/bash-plus/downstream-waiter/wait_for_commit.sh'
- name: 'gcr.io/graphite-docker-images/go-plus'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tf-oics-sync
waitFor: ["checkout"]
waitFor: ["build-magician-binary"]
args:
- wait-for-commit
- 'tf-oics-sync'
- $BRANCH_NAME
- $COMMIT_SHA
Expand All @@ -74,7 +78,7 @@ steps:
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
id: tpg-push
waitFor: ["tpg-sync", "tpgb-sync", "tgc-sync", "tf-oics-sync", "build-magician-binary"]
waitFor: ["tpg-sync", "tpgb-sync", "tgc-sync", "tf-oics-sync"]
env:
- BASE_BRANCH=$BRANCH_NAME
args:
Expand Down Expand Up @@ -102,7 +106,7 @@ steps:
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
id: tpgb-push
waitFor: ["tpg-sync", "tpgb-sync", "tgc-sync", "tf-oics-sync", "build-magician-binary"]
waitFor: ["tpg-sync", "tpgb-sync", "tgc-sync", "tf-oics-sync"]
env:
- BASE_BRANCH=$BRANCH_NAME
args:
Expand Down Expand Up @@ -158,7 +162,7 @@ steps:
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
id: tf-oics-push
waitFor: ["tpg-sync", "tpgb-sync", "tgc-sync", "tf-oics-sync", "build-magician-binary"]
waitFor: ["tpg-sync", "tpgb-sync", "tgc-sync", "tf-oics-sync"]
env:
- BASE_BRANCH=$BRANCH_NAME
args:
Expand Down

0 comments on commit f5fb3aa

Please sign in to comment.