forked from StratusNetwork/projectares
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yml
41 lines (41 loc) · 1.02 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
timeout: 15m
steps:
- id: git
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
args:
- -mq
- cp
- -r
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/$BRANCH_NAME/.m2
- .
- id: maven
name: gcr.io/cloud-builders/mvn
args:
- install
env:
- MAVEN_OPTS=-Dmaven.repo.local=/workspace/.m2
- id: m2-deploy
name: gcr.io/cloud-builders/gsutil
args:
- -mq
- cp
- -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
- --config=docker/minecraft/build.yml