Skip to content

Commit

Permalink
ci: Add gcloud components install alpha cmd (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Cervello authored and lvaylet committed Nov 25, 2022
1 parent 686b6b9 commit 8455699
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,11 @@ docker_test: docker_build
slo-generator test

# Cloudbuild
cloudbuild:
cloudbuild: gcloud_alpha
gcloud alpha builds submit \
--config=cloudbuild.yaml \
--project=${CLOUDBUILD_PROJECT_ID} \
--substitutions=_GCR_PROJECT_ID=${GCR_PROJECT_ID},_VERSION=${VERSION} \
--quiet
--substitutions=_GCR_PROJECT_ID=${GCR_PROJECT_ID},_VERSION=${VERSION}

# Cloudrun
cloudrun:
Expand All @@ -140,3 +139,6 @@ cloudrun:
--min-instances 1 \
--allow-unauthenticated \
--project=${CLOUDRUN_PROJECT_ID}

gcloud_alpha:
gcloud components install alpha --quiet

0 comments on commit 8455699

Please sign in to comment.