Simplify cloud builds
This commit is contained in:
parent
c31401e79c
commit
5de12a4e8b
12
build.yml
12
build.yml
|
@ -6,15 +6,6 @@ steps:
|
||||||
- clone
|
- clone
|
||||||
- --depth=1
|
- --depth=1
|
||||||
- https://github.com/StratusNetwork/docker.git
|
- https://github.com/StratusNetwork/docker.git
|
||||||
- id: ensure
|
|
||||||
name: gcr.io/cloud-builders/gsutil
|
|
||||||
args:
|
|
||||||
- -mq
|
|
||||||
- cp
|
|
||||||
- -r
|
|
||||||
- README.md
|
|
||||||
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/$BRANCH_NAME/$REPO_NAME
|
|
||||||
wait_for: ['-']
|
|
||||||
- id: m2-download
|
- id: m2-download
|
||||||
name: gcr.io/cloud-builders/gsutil
|
name: gcr.io/cloud-builders/gsutil
|
||||||
args:
|
args:
|
||||||
|
@ -23,7 +14,6 @@ steps:
|
||||||
- -r
|
- -r
|
||||||
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/$BRANCH_NAME/.m2
|
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/$BRANCH_NAME/.m2
|
||||||
- .
|
- .
|
||||||
wait_for: ['-']
|
|
||||||
- id: maven
|
- id: maven
|
||||||
name: gcr.io/cloud-builders/mvn
|
name: gcr.io/cloud-builders/mvn
|
||||||
args:
|
args:
|
||||||
|
@ -35,7 +25,7 @@ steps:
|
||||||
args:
|
args:
|
||||||
- -mq
|
- -mq
|
||||||
- cp
|
- cp
|
||||||
- -rn
|
- -r
|
||||||
- .m2
|
- .m2
|
||||||
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/$BRANCH_NAME
|
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/$BRANCH_NAME
|
||||||
- id: docker-deploy
|
- id: docker-deploy
|
||||||
|
|
Loading…
Reference in New Issue