Skip to content

Commit

Permalink
Switched to setting build steps in yaml (#4888)
Browse files Browse the repository at this point in the history
This makes it so that they're easier to compare and also doesn't require rebuilding the container to update them
  • Loading branch information
melinath authored Jun 18, 2021
1 parent 5ca62d7 commit 6c22863
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ pr_number=$1
mm_commit_sha=$2
build_id=$3
project_id=$4
build_step=$5
github_username=modular-magician
gh_repo=terraform-google-conversion
build_step="21"

scratch_path=https://$github_username:$GITHUB_TOKEN@github.com/$github_username/$gh_repo
local_path=$GOPATH/src/github.com/GoogleCloudPlatform/$gh_repo
Expand Down
3 changes: 1 addition & 2 deletions .ci/containers/terraform-tester/test_terraform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ pr_number=$2
mm_commit_sha=$3
build_id=$4
project_id=$5
build_step=$6
github_username=modular-magician
if [ "$version" == "ga" ]; then
gh_repo=terraform-provider-google
build_step="24"
elif [ "$version" == "beta" ]; then
gh_repo=terraform-provider-google-beta
build_step="23"
else
echo "no repo, dying."
exit 1
Expand Down
3 changes: 3 additions & 0 deletions .ci/gcb-generate-diffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ steps:
- $COMMIT_SHA
- $BUILD_ID
- $PROJECT_ID
- 21 # Build step

- name: 'gcr.io/graphite-docker-images/terraform-tester'
id: tpgb-test
Expand All @@ -193,6 +194,7 @@ steps:
- $COMMIT_SHA
- $BUILD_ID
- $PROJECT_ID
- 22 # Build step

- name: 'gcr.io/graphite-docker-images/terraform-tester'
id: tpg-test
Expand All @@ -204,6 +206,7 @@ steps:
- $COMMIT_SHA
- $BUILD_ID
- $PROJECT_ID
- 23 # Build step

- name: 'gcr.io/graphite-docker-images/terraform-vcr-tester'
id: tpg-vcr-test
Expand Down

0 comments on commit 6c22863

Please sign in to comment.