Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak make rules to make cloudbuild work #429

Merged
merged 1 commit into from
Mar 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ update:
hack/update-dependencies.sh
hack/verify-update.sh

# There seems to be some shell quoting problem with cloudbuild.yaml, and trying
# to pass multiple make targets appears as a single quoted string. See
# cloudbuild.yaml for how this is used.
.PHONY: cloudbuild
cloudbuild: container-all push-manifest push-latest

.PHONY: verify
verify: unit-test
hack/verify-all.sh
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ steps:
# set the home to /root explicitly to if using docker buildx
- HOME=/root
args:
- container-all push-manifest push-latest
- cloudbuild

substitutions:
_STAGING_PROJECT: 'k8s-staging-cloud-provider-gcp'