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
|
||||
steps:
|
||||
- id: clone
|
||||
- id: git-init
|
||||
name: gcr.io/cloud-builders/git
|
||||
args:
|
||||
- clone
|
||||
- --depth=1
|
||||
- https://github.com/Electroid/infrastructure.git
|
||||
- init
|
||||
- .
|
||||
- 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
|
||||
name: gcr.io/cloud-builders/gsutil
|
||||
args:
|
||||
|
|
Loading…
Reference in New Issue