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