Change working directory of queued build
This commit is contained in:
parent
7e1ee95772
commit
5218716af8
21
build.yml
21
build.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue