fix broken cloudbuild.yaml
This commit is contained in:
parent
b4fbe8df69
commit
d7eeba2682
1 changed files with 2 additions and 10 deletions
|
@ -4,15 +4,7 @@
|
||||||
# - Cloud Build service account must have roles: "Kubernetes Engine Developer", "Storage Object Creator", \
|
# - Cloud Build service account must have roles: "Kubernetes Engine Developer", "Storage Object Creator", \
|
||||||
# "Storage Object"
|
# "Storage Object"
|
||||||
|
|
||||||
# steps:
|
steps:
|
||||||
# # modify skaffold config to deploy to cluster in *current* GCP project
|
|
||||||
# - id: 'Patch Skaffold config'
|
|
||||||
# name: ubuntu
|
|
||||||
# args:
|
|
||||||
# - 'sed'
|
|
||||||
# - '-i'
|
|
||||||
# - 's/microservices-demo-app/$PROJECT_ID/g'
|
|
||||||
# - 'skaffold.yaml'
|
|
||||||
|
|
||||||
# authenticate to GKE cluster
|
# authenticate to GKE cluster
|
||||||
- id: 'Get GKE credentials'
|
- id: 'Get GKE credentials'
|
||||||
|
@ -44,6 +36,6 @@
|
||||||
- 'CLOUDSDK_CONTAINER_CLUSTER=demo-app-staging'
|
- 'CLOUDSDK_CONTAINER_CLUSTER=demo-app-staging'
|
||||||
|
|
||||||
# Add more power, and more time, for heavy Skaffold build
|
# Add more power, and more time, for heavy Skaffold build
|
||||||
timeout: 3600s
|
timeout: '3600s'
|
||||||
options:
|
options:
|
||||||
machineType: 'N1_HIGHCPU_8'
|
machineType: 'N1_HIGHCPU_8'
|
Loading…
Add table
Add a link
Reference in a new issue