File tree Expand file tree Collapse file tree 3 files changed +15
-8894
lines changed Expand file tree Collapse file tree 3 files changed +15
-8894
lines changed Original file line number Diff line number Diff line change 3
3
# - SONAR_HOST // Optional
4
4
# - SONAR_TOKEN // Optional
5
5
6
+ # Tags defines which runner to use (expected shell runner)
7
+ .ra_tags_branches : &ra_tags_branches
8
+ tags :
9
+ - review-apps-4
10
+ only :
11
+ - branches
12
+
6
13
image : skilldlabs/php:72
7
14
8
15
variables :
@@ -37,8 +44,7 @@ sniffers:phpcs:
37
44
- ls -lah
38
45
- docker -v
39
46
- make phpcs
40
- tags :
41
- - review-apps-4
47
+ << : *ra_tags_branches
42
48
43
49
sniffers:sonarqube :
44
50
stage : sniffers
@@ -65,12 +71,9 @@ sniffers:sonarqube:
65
71
- (if [ -d ${BUILD_DIR} ]; then date; cd ${BUILD_DIR}; pwd; make clean; cd -; rm -rf ${BUILD_DIR}; fi)
66
72
script :
67
73
- echo "Removed previous review app ${CI_ENVIRONMENT_URL} from ${BUILD_DIR}."
68
- only :
69
- - branches
70
- tags :
71
- - review-apps-4
72
74
dependencies :
73
75
- sniffers:phpcs
76
+ << : *ra_tags_branches
74
77
75
78
deploy:review :
76
79
<< : *job_deploy_commit
@@ -128,12 +131,9 @@ test:behat:
128
131
- mkdir web/screenshots
129
132
- mv features/*.png web/screenshots/
130
133
- echo "- Screenshots are available here :" && cd web/screenshots && ls -h *.png | xargs -i echo "${CI_ENVIRONMENT_URL}/screenshots/{}"
131
- tags :
132
- - review-apps-4
133
134
dependencies :
134
135
- deploy:review
135
- only :
136
- - branches
136
+ << : *ra_tags_branches
137
137
138
138
test:cinsp :
139
139
stage : tests
@@ -146,12 +146,9 @@ test:cinsp:
146
146
- cd ${BUILD_DIR}
147
147
- pwd
148
148
- make cinsp
149
- tags :
150
- - review-apps-4
151
149
dependencies :
152
150
- deploy:review
153
- only :
154
- - branches
151
+ << : *ra_tags_branches
155
152
156
153
test:drupalcheck :
157
154
stage : tests
@@ -165,12 +162,9 @@ test:drupalcheck:
165
162
- pwd
166
163
- ls -lah
167
164
- make drupalcheckval
168
- tags :
169
- - review-apps-4
170
165
dependencies :
171
166
- deploy:review
172
- only :
173
- - branches
167
+ << : *ra_tags_branches
174
168
175
169
test:contentgen :
176
170
stage : tests
@@ -183,12 +177,9 @@ test:contentgen:
183
177
- cd ${BUILD_DIR}
184
178
- pwd
185
179
- make contentgen
186
- tags :
187
- - review-apps-4
188
180
dependencies :
189
181
- deploy:review
190
- only :
191
- - branches
182
+ << : *ra_tags_branches
192
183
when : manual
193
184
194
185
report:statusreportval :
@@ -202,12 +193,9 @@ report:statusreportval:
202
193
- cd ${BUILD_DIR}
203
194
- pwd
204
195
- make statusreportval
205
- tags :
206
- - review-apps-4
207
196
dependencies :
208
197
- deploy:review
209
- only :
210
- - branches
198
+ << : *ra_tags_branches
211
199
212
200
report:watchdog :
213
201
stage : reports
@@ -220,9 +208,6 @@ report:watchdog:
220
208
- cd ${BUILD_DIR}
221
209
- pwd
222
210
- make watchdogval
223
- tags :
224
- - review-apps-4
225
211
dependencies :
226
212
- deploy:review
227
- only :
228
- - branches
213
+ << : *ra_tags_branches
You can’t perform that action at this time.
0 commit comments