-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
51 lines (42 loc) · 805 Bytes
/
.gitlab-ci.yml
File metadata and controls
51 lines (42 loc) · 805 Bytes
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
42
43
44
45
46
47
48
49
50
51
stages:
- deploy
.build-deploy:
script:
- 'mvn clean package'
- 'tar zxvf ./target/sql-runner-2.1-bin.tar.gz -C ./target'
- 'rm -rf /data/ws/sql-runner-2.1'
- 'mv ./target/sql-runner-2.1 /data/ws/sql-runner-2.1'
stage: deploy
when: manual
uat-build-deploy:
extends: .build-deploy
tags:
- uat-nuc1
stg-build-deploy:
extends: .build-deploy
tags:
- stg-gw1
prd-build-deploy:
extends: .build-deploy
tags:
- prd-gw1
pre-build-deploy:
extends: .build-deploy
tags:
- pre-gw1
nta-build-deploy:
extends: .build-deploy
tags:
- nta-gw1
prg-build-deploy:
extends: .build-deploy
tags:
- prg-gw1
sth-build-deploy:
extends: .build-deploy
tags:
- sth-gw1
jdc-build-deploy:
extends: .build-deploy
tags:
- jdc-gw1