forked from lean-delivery/ansible-role-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
171 lines (152 loc) · 3.1 KB
/
.gitlab-ci.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
---
# Run all tests
stages:
- lint
- deployment test
before_script:
- rm -rf molecule/resources/provisioning
- ansible --version
- molecule --version
- git clone https://github.com/lean-delivery/ansible-molecule-drivers.git molecule/resources/provisioning
variables:
GET_SOURCES_ATTEMPTS: "5"
Ansible lint:
stage: lint
before_script:
- ansible --version
- git clone https://github.com/lean-delivery/ansible-lint-rules.git ~/ansible-lint-rules
script:
- ansible-lint --version
- ansible-lint . -c .ansible-lint
after_script:
- rm -rf ~/ansible-lint-rules
tags:
- aws
AWS java-6:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-direct-6
tags:
- aws
.AWS java-7:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-direct-7
tags:
- aws
AWS java-8:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-direct-8
tags:
- aws
AWS java-8 Windows:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-windows-8
tags:
- aws
AWS jre-8 Windows chocolatey:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-windows-jre8-chocolatey
tags:
- aws
AWS openjdk-11 Windows chocolatey:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-windows-openjdk11-chocolatey
tags:
- aws
.AWS openjdk-12 Windows chocolatey:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-windows-openjdk12-chocolatey
tags:
- aws
AWS java-11:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-direct-11
tags:
- aws
AWS openjdk-8:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-openjdk-8
tags:
- aws
AWS openjdk-11:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-openjdk-11
tags:
- aws
AWS openjdk-12:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-openjdk-12-of
tags:
- aws
AWS openjdk-12 Windows:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-openjdk-windows-12
tags:
- aws
AWS java-11 Windows:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-windows-11
tags:
- aws
AWS java-12:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-direct-12
tags:
- aws
AWS java-12 Windows:
variables:
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-windows-12
tags:
- aws
EPC java-8:
variables:
EPC_REGION: EPAM-BY2
stage: deployment test
script:
- molecule test -s cloud-epc-delegated
tags:
- delegated