Change working directory of queued build

This commit is contained in:
Ashcon Partovi 2017-12-31 04:01:48 -07:00
parent 7e1ee95772
commit 5218716af8
No known key found for this signature in database
GPG Key ID: 97468B9EF2123630
1 changed files with 4 additions and 17 deletions

View File

@ -1,25 +1,11 @@
timeout: 15m timeout: 15m
steps: steps:
- id: git-init - id: git
name: gcr.io/cloud-builders/git name: gcr.io/cloud-builders/git
args: args:
- init - clone
- . - --depth=1
- id: git-add
name: gcr.io/cloud-builders/git
args:
- remote
- add
- -t
- \*
- -f
- origin
- https://github.com/Electroid/infrastructure.git - https://github.com/Electroid/infrastructure.git
- id: git-checkout
name: gcr.io/cloud-builders/git
args:
- checkout
- master
- id: m2-download - id: m2-download
name: gcr.io/cloud-builders/gsutil name: gcr.io/cloud-builders/gsutil
args: args:
@ -44,6 +30,7 @@ steps:
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/$BRANCH_NAME - gs://artifacts.$PROJECT_ID.appspot.com/artifacts/$BRANCH_NAME
- id: docker-deploy - id: docker-deploy
name: gcr.io/cloud-builders/gcloud name: gcr.io/cloud-builders/gcloud
dir: infrastructure
args: args:
- container - container
- builds - builds