Increaes GCB VM disk space to avoid build failure

Default VM disk size is 200 for Cloud Build, we need at least 300 to build all services.
This commit is contained in:
Olivier Cervello 2018-08-20 12:17:54 -05:00 committed by GitHub
parent a7a3bb7e03
commit 0d6e54f812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,8 +17,6 @@ kind: Config
build: build:
tagPolicy: tagPolicy:
gitCommit: {} gitCommit: {}
googleCloudBuild:
diskSizeGb: 300
artifacts: artifacts:
- imageName: gcr.io/microservices-demo-app/emailservice - imageName: gcr.io/microservices-demo-app/emailservice
workspace: src/emailservice workspace: src/emailservice
@ -44,3 +42,9 @@ deploy:
kubectl: kubectl:
manifests: manifests:
- ./kubernetes-manifests/**.yaml - ./kubernetes-manifests/**.yaml
profiles:
- name: gcb
build:
googleCloudBuild:
diskSizeGb: 300
machineType: "N1_HIGHCPU_32"