ProjectAres/build.yml

42 lines
1.0 KiB
YAML
Raw Normal View History

timeout: 15m
2017-11-25 12:22:48 +01:00
steps:
- id: git
2017-11-25 12:22:48 +01:00
name: gcr.io/cloud-builders/git
args:
- clone
- --depth=1
- https://github.com/Electroid/infrastructure.git
- id: m2-download
name: gcr.io/cloud-builders/gsutil
2017-11-25 12:22:48 +01:00
args:
- -mq
- cp
- -r
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/$BRANCH_NAME/.m2
- .
- id: maven
name: gcr.io/cloud-builders/mvn
2017-11-25 12:22:48 +01:00
args:
- install
env:
- MAVEN_OPTS=-Dmaven.repo.local=/workspace/.m2
- id: m2-deploy
name: gcr.io/cloud-builders/gsutil
args:
- -mq
- cp
2017-12-30 04:42:05 +01:00
- -r
- .m2
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/$BRANCH_NAME
- id: docker-deploy
name: gcr.io/cloud-builders/gcloud
dir: infrastructure
args:
- container
- builds
- submit
- --async
- --no-source
- --substitutions=_BRANCH=$BRANCH_NAME,_VERSION=$_VERSION,_SPORTBUKKIT_VERSION=$_SPORTBUKKIT_VERSION,_BUNGEECORD_VERSION=$_BUNGEECORD_VERSION
2017-12-31 11:48:16 +01:00
- --config=docker/minecraft/build.yml