Add special git build steps to clone into existing directory
This commit is contained in:
parent
5cfd94c5c2
commit
d5b9acf23f
20
build.yml
20
build.yml
|
@ -1,12 +1,26 @@
|
||||||
timeout: 15m
|
timeout: 15m
|
||||||
steps:
|
steps:
|
||||||
- id: clone
|
- id: git-init
|
||||||
name: gcr.io/cloud-builders/git
|
name: gcr.io/cloud-builders/git
|
||||||
args:
|
args:
|
||||||
- clone
|
- clone
|
||||||
- --depth=1
|
- init
|
||||||
- https://github.com/Electroid/infrastructure.git
|
|
||||||
- .
|
- .
|
||||||
|
- id: git-add
|
||||||
|
name: gcr.io/cloud-builders/git
|
||||||
|
args:
|
||||||
|
- remote
|
||||||
|
- add
|
||||||
|
- -t
|
||||||
|
- \*
|
||||||
|
- -f
|
||||||
|
- origin
|
||||||
|
- 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:
|
||||||
|
|
Loading…
Reference in New Issue