gitlab-qa 4.16.0 → 4.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.gitlab-ci.yml +308 -33
- data/bin/notify_upstream_commit +2 -6
- data/docs/run_qa_against_gdk.md +10 -0
- data/lib/gitlab/qa/component/gitlab.rb +8 -1
- data/lib/gitlab/qa/release.rb +7 -7
- data/lib/gitlab/qa/runtime/env.rb +1 -1
- data/lib/gitlab/qa/scenario/test/instance/relative_url.rb +1 -1
- data/lib/gitlab/qa/scenario/test/integration/mattermost.rb +1 -1
- data/lib/gitlab/qa/scenario/test/integration/smtp.rb +1 -1
- data/lib/gitlab/qa/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5672c0e755fe027bb4848cb20e9df5b67c43d9855411e46c72ffc4d0c8b960c2
|
4
|
+
data.tar.gz: c0994879e81941382496597036a79067f0e959f197a98ba2852162f6f98134a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 833284d43adec815bf2fe2c518d88c3d3786200f17fa4234d949a90ffc9602752846106c821532a1932dcccbbcc16cb5e1e42ae8e6c6b352356229683143cad2
|
7
|
+
data.tar.gz: 07a4d40365d3e56e9e0f5a8ecd49a5658274691d0fe2c8a64310be30075851a78d28941a31566016a32c41dc828cf5769e7475d7ebed2403c932c4e37a065ea8
|
data/.gitignore
CHANGED
data/.gitlab-ci.yml
CHANGED
@@ -57,6 +57,8 @@ check:rspec:
|
|
57
57
|
expire_in: 10d
|
58
58
|
paths:
|
59
59
|
- ./gitlab-qa-run-*
|
60
|
+
reports:
|
61
|
+
junit: gitlab-qa-run-*/**/rspec-*.xml
|
60
62
|
|
61
63
|
.ce-qa:
|
62
64
|
only:
|
@@ -92,6 +94,10 @@ check:rspec:
|
|
92
94
|
FILE_SAFE_JOB_NAME: $(echo $CI_JOB_NAME | sed 's/[ /]/_/g')
|
93
95
|
RSPEC_REPORT_OPTS: "--format RspecJunitFormatter --out \"tmp/rspec-${CI_JOB_ID}.xml\" --format html --out \"tmp/rspec-${FILE_SAFE_JOB_NAME}.htm\" --color --format documentation"
|
94
96
|
|
97
|
+
.quarantine:
|
98
|
+
allow_failure: true
|
99
|
+
when: manual
|
100
|
+
|
95
101
|
ce:sanity-framework:
|
96
102
|
script:
|
97
103
|
- ./bin/expect_exit_code_and_text "exe/gitlab-qa Test::Instance::Image ${RELEASE:=CE} -- --tag framework" 1 "2 examples, 1 failure"
|
@@ -108,6 +114,26 @@ ee:sanity-framework:
|
|
108
114
|
- .high-capacity
|
109
115
|
- .ee-qa
|
110
116
|
|
117
|
+
ce:custom:
|
118
|
+
script:
|
119
|
+
- exe/gitlab-qa ${QA_SCENARIO:=Test::Instance::Image} ${RELEASE:=CE} -- ${QA_TESTS} ${QA_RSPEC_TAGS} $RSPEC_REPORT_OPTS
|
120
|
+
extends:
|
121
|
+
- .test
|
122
|
+
- .high-capacity
|
123
|
+
- .ce-qa
|
124
|
+
- .rspec-report-opts
|
125
|
+
when: manual
|
126
|
+
|
127
|
+
ee:custom:
|
128
|
+
script:
|
129
|
+
- exe/gitlab-qa ${QA_SCENARIO:=Test::Instance::Image} ${RELEASE:=EE} -- ${QA_TESTS} ${QA_RSPEC_TAGS} $RSPEC_REPORT_OPTS
|
130
|
+
extends:
|
131
|
+
- .test
|
132
|
+
- .high-capacity
|
133
|
+
- .ee-qa
|
134
|
+
- .rspec-report-opts
|
135
|
+
when: manual
|
136
|
+
|
111
137
|
ce:instance:
|
112
138
|
script:
|
113
139
|
- exe/gitlab-qa Test::Instance::Image ${RELEASE:=CE} -- $RSPEC_REPORT_OPTS
|
@@ -119,6 +145,16 @@ ce:instance:
|
|
119
145
|
- .rspec-report-opts
|
120
146
|
parallel: 5
|
121
147
|
|
148
|
+
ce:instance-quarantine:
|
149
|
+
script:
|
150
|
+
- exe/gitlab-qa Test::Instance::Image ${RELEASE:=CE} -- --tag quarantine --tag ~orchestrated $RSPEC_REPORT_OPTS
|
151
|
+
extends:
|
152
|
+
- .test
|
153
|
+
- .high-capacity
|
154
|
+
- .ce-qa
|
155
|
+
- .quarantine
|
156
|
+
- .rspec-report-opts
|
157
|
+
|
122
158
|
ee:instance:
|
123
159
|
script:
|
124
160
|
- exe/gitlab-qa Test::Instance::Image ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -130,6 +166,16 @@ ee:instance:
|
|
130
166
|
- .rspec-report-opts
|
131
167
|
parallel: 5
|
132
168
|
|
169
|
+
ee:instance-quarantine:
|
170
|
+
script:
|
171
|
+
- exe/gitlab-qa Test::Instance::Image ${RELEASE:=EE} -- --tag quarantine --tag ~orchestrated $RSPEC_REPORT_OPTS
|
172
|
+
extends:
|
173
|
+
- .test
|
174
|
+
- .high-capacity
|
175
|
+
- .ee-qa
|
176
|
+
- .quarantine
|
177
|
+
- .rspec-report-opts
|
178
|
+
|
133
179
|
ce:docker:
|
134
180
|
script:
|
135
181
|
- exe/gitlab-qa Test::Instance::Image ${RELEASE:=CE} -- --tag docker $RSPEC_REPORT_OPTS
|
@@ -159,6 +205,16 @@ ce:relative_url:
|
|
159
205
|
- .rspec-report-opts
|
160
206
|
parallel: 5
|
161
207
|
|
208
|
+
ce:relative_url-quarantine:
|
209
|
+
script:
|
210
|
+
- exe/gitlab-qa Test::Instance::RelativeUrl ${RELEASE:=CE} -- --tag quarantine --tag ~orchestrated $RSPEC_REPORT_OPTS
|
211
|
+
extends:
|
212
|
+
- .test
|
213
|
+
- .high-capacity
|
214
|
+
- .ce-qa
|
215
|
+
- .quarantine
|
216
|
+
- .rspec-report-opts
|
217
|
+
|
162
218
|
ee:relative_url:
|
163
219
|
script:
|
164
220
|
- exe/gitlab-qa Test::Instance::RelativeUrl ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -170,6 +226,16 @@ ee:relative_url:
|
|
170
226
|
- .rspec-report-opts
|
171
227
|
parallel: 5
|
172
228
|
|
229
|
+
ee:relative_url-quarantine:
|
230
|
+
script:
|
231
|
+
- exe/gitlab-qa Test::Instance::RelativeUrl ${RELEASE:=EE} -- --tag quarantine --tag ~orchestrated $RSPEC_REPORT_OPTS
|
232
|
+
extends:
|
233
|
+
- .test
|
234
|
+
- .high-capacity
|
235
|
+
- .ee-qa
|
236
|
+
- .quarantine
|
237
|
+
- .rspec-report-opts
|
238
|
+
|
173
239
|
ce:image:
|
174
240
|
script:
|
175
241
|
- exe/gitlab-qa Test::Omnibus::Image ${RELEASE:=CE}
|
@@ -195,6 +261,16 @@ ce:update:
|
|
195
261
|
- .knapsack-variables
|
196
262
|
parallel: 5
|
197
263
|
|
264
|
+
ce:update-quarantine:
|
265
|
+
script:
|
266
|
+
- exe/gitlab-qa Test::Omnibus::Update ${RELEASE:=CE} ${RELEASE:=CE} -- --tag quarantine --tag ~orchestrated $RSPEC_REPORT_OPTS
|
267
|
+
extends:
|
268
|
+
- .test
|
269
|
+
- .high-capacity
|
270
|
+
- .ce-qa
|
271
|
+
- .quarantine
|
272
|
+
- .rspec-report-opts
|
273
|
+
|
198
274
|
ee:update:
|
199
275
|
script:
|
200
276
|
- exe/gitlab-qa Test::Omnibus::Update ${RELEASE:=EE} ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -206,6 +282,16 @@ ee:update:
|
|
206
282
|
- .knapsack-variables
|
207
283
|
parallel: 5
|
208
284
|
|
285
|
+
ee:update-quarantine:
|
286
|
+
script:
|
287
|
+
- exe/gitlab-qa Test::Omnibus::Update ${RELEASE:=EE} ${RELEASE:=EE} -- --tag quarantine --tag ~orchestrated $RSPEC_REPORT_OPTS
|
288
|
+
extends:
|
289
|
+
- .test
|
290
|
+
- .high-capacity
|
291
|
+
- .ee-qa
|
292
|
+
- .quarantine
|
293
|
+
- .rspec-report-opts
|
294
|
+
|
209
295
|
ce:upgrade:
|
210
296
|
script:
|
211
297
|
- exe/gitlab-qa Test::Omnibus::Upgrade CE -- $RSPEC_REPORT_OPTS
|
@@ -217,6 +303,16 @@ ce:upgrade:
|
|
217
303
|
- .knapsack-variables
|
218
304
|
parallel: 5
|
219
305
|
|
306
|
+
ce:upgrade-quarantine:
|
307
|
+
script:
|
308
|
+
- exe/gitlab-qa Test::Omnibus::Upgrade CE -- --tag quarantine --tag ~orchestrated $RSPEC_REPORT_OPTS
|
309
|
+
extends:
|
310
|
+
- .test
|
311
|
+
- .high-capacity
|
312
|
+
- .only-qa
|
313
|
+
- .quarantine
|
314
|
+
- .rspec-report-opts
|
315
|
+
|
220
316
|
ee-previous-to-ce:update:
|
221
317
|
script:
|
222
318
|
- exe/gitlab-qa Test::Omnibus::Update EE CE -- $RSPEC_REPORT_OPTS
|
@@ -226,6 +322,16 @@ ee-previous-to-ce:update:
|
|
226
322
|
- .only-qa
|
227
323
|
- .rspec-report-opts
|
228
324
|
|
325
|
+
ee-previous-to-ce:update-quarantine:
|
326
|
+
script:
|
327
|
+
- exe/gitlab-qa Test::Omnibus::Update EE CE -- --tag quarantine --tag ~orchestrated $RSPEC_REPORT_OPTS
|
328
|
+
extends:
|
329
|
+
- .test
|
330
|
+
- .high-capacity
|
331
|
+
- .only-qa
|
332
|
+
- .quarantine
|
333
|
+
- .rspec-report-opts
|
334
|
+
|
229
335
|
ce:mattermost:
|
230
336
|
script:
|
231
337
|
- exe/gitlab-qa Test::Integration::Mattermost ${RELEASE:=CE} -- $RSPEC_REPORT_OPTS
|
@@ -235,6 +341,16 @@ ce:mattermost:
|
|
235
341
|
- .ce-qa
|
236
342
|
- .rspec-report-opts
|
237
343
|
|
344
|
+
ce:mattermost-quarantine:
|
345
|
+
script:
|
346
|
+
- exe/gitlab-qa Test::Integration::Mattermost ${RELEASE:=CE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
347
|
+
extends:
|
348
|
+
- .test
|
349
|
+
- .high-capacity
|
350
|
+
- .ce-qa
|
351
|
+
- .quarantine
|
352
|
+
- .rspec-report-opts
|
353
|
+
|
238
354
|
ee:mattermost:
|
239
355
|
script:
|
240
356
|
- exe/gitlab-qa Test::Integration::Mattermost ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -244,6 +360,16 @@ ee:mattermost:
|
|
244
360
|
- .ee-qa
|
245
361
|
- .rspec-report-opts
|
246
362
|
|
363
|
+
ee:mattermost-quarantine:
|
364
|
+
script:
|
365
|
+
- exe/gitlab-qa Test::Integration::Mattermost ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
366
|
+
extends:
|
367
|
+
- .test
|
368
|
+
- .high-capacity
|
369
|
+
- .ee-qa
|
370
|
+
- .quarantine
|
371
|
+
- .rspec-report-opts
|
372
|
+
|
247
373
|
ee:geo:
|
248
374
|
script:
|
249
375
|
- exe/gitlab-qa Test::Integration::Geo ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -253,6 +379,16 @@ ee:geo:
|
|
253
379
|
- .ee-qa
|
254
380
|
- .rspec-report-opts
|
255
381
|
|
382
|
+
ee:geo-quarantine:
|
383
|
+
script:
|
384
|
+
- exe/gitlab-qa Test::Integration::Geo ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
385
|
+
extends:
|
386
|
+
- .test
|
387
|
+
- .high-capacity
|
388
|
+
- .ee-qa
|
389
|
+
- .quarantine
|
390
|
+
- .rspec-report-opts
|
391
|
+
|
256
392
|
ce:ldap_no_tls:
|
257
393
|
script:
|
258
394
|
- exe/gitlab-qa Test::Integration::LDAPNoTLS ${RELEASE:=CE} -- $RSPEC_REPORT_OPTS
|
@@ -262,6 +398,16 @@ ce:ldap_no_tls:
|
|
262
398
|
- .ce-qa
|
263
399
|
- .rspec-report-opts
|
264
400
|
|
401
|
+
ce:ldap_no_tls-quarantine:
|
402
|
+
script:
|
403
|
+
- exe/gitlab-qa Test::Integration::LDAPNoTLS ${RELEASE:=CE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
404
|
+
extends:
|
405
|
+
- .test
|
406
|
+
- .high-capacity
|
407
|
+
- .ce-qa
|
408
|
+
- .quarantine
|
409
|
+
- .rspec-report-opts
|
410
|
+
|
265
411
|
ee:ldap_no_tls:
|
266
412
|
script:
|
267
413
|
- exe/gitlab-qa Test::Integration::LDAPNoTLS ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -271,6 +417,16 @@ ee:ldap_no_tls:
|
|
271
417
|
- .ee-qa
|
272
418
|
- .rspec-report-opts
|
273
419
|
|
420
|
+
ee:ldap_no_tls-quarantine:
|
421
|
+
script:
|
422
|
+
- exe/gitlab-qa Test::Integration::LDAPNoTLS ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
423
|
+
extends:
|
424
|
+
- .test
|
425
|
+
- .high-capacity
|
426
|
+
- .ee-qa
|
427
|
+
- .quarantine
|
428
|
+
- .rspec-report-opts
|
429
|
+
|
274
430
|
ce:ldap_tls:
|
275
431
|
script:
|
276
432
|
- exe/gitlab-qa Test::Integration::LDAPTLS ${RELEASE:=CE} -- $RSPEC_REPORT_OPTS
|
@@ -280,6 +436,16 @@ ce:ldap_tls:
|
|
280
436
|
- .ce-qa
|
281
437
|
- .rspec-report-opts
|
282
438
|
|
439
|
+
ce:ldap_tls-quarantine:
|
440
|
+
script:
|
441
|
+
- exe/gitlab-qa Test::Integration::LDAPTLS ${RELEASE:=CE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
442
|
+
extends:
|
443
|
+
- .test
|
444
|
+
- .high-capacity
|
445
|
+
- .ce-qa
|
446
|
+
- .quarantine
|
447
|
+
- .rspec-report-opts
|
448
|
+
|
283
449
|
ee:ldap_tls:
|
284
450
|
script:
|
285
451
|
- exe/gitlab-qa Test::Integration::LDAPTLS ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -289,6 +455,16 @@ ee:ldap_tls:
|
|
289
455
|
- .ee-qa
|
290
456
|
- .rspec-report-opts
|
291
457
|
|
458
|
+
ee:ldap_tls-quarantine:
|
459
|
+
script:
|
460
|
+
- exe/gitlab-qa Test::Integration::LDAPTLS ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
461
|
+
extends:
|
462
|
+
- .test
|
463
|
+
- .high-capacity
|
464
|
+
- .ee-qa
|
465
|
+
- .quarantine
|
466
|
+
- .rspec-report-opts
|
467
|
+
|
292
468
|
ee:ldap_no_server:
|
293
469
|
script:
|
294
470
|
- exe/gitlab-qa Test::Integration::LDAPNoServer ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -298,6 +474,16 @@ ee:ldap_no_server:
|
|
298
474
|
- .ee-qa
|
299
475
|
- .rspec-report-opts
|
300
476
|
|
477
|
+
ee:ldap_no_server-quarantine:
|
478
|
+
script:
|
479
|
+
- exe/gitlab-qa Test::Integration::LDAPNoServer ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
480
|
+
extends:
|
481
|
+
- .test
|
482
|
+
- .high-capacity
|
483
|
+
- .ee-qa
|
484
|
+
- .quarantine
|
485
|
+
- .rspec-report-opts
|
486
|
+
|
301
487
|
ce:instance_saml:
|
302
488
|
script:
|
303
489
|
- exe/gitlab-qa Test::Integration::InstanceSAML ${RELEASE:=CE} -- $RSPEC_REPORT_OPTS
|
@@ -307,6 +493,16 @@ ce:instance_saml:
|
|
307
493
|
- .ce-qa
|
308
494
|
- .rspec-report-opts
|
309
495
|
|
496
|
+
ce:instance_saml-quarantine:
|
497
|
+
script:
|
498
|
+
- exe/gitlab-qa Test::Integration::InstanceSAML ${RELEASE:=CE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
499
|
+
extends:
|
500
|
+
- .test
|
501
|
+
- .high-capacity
|
502
|
+
- .ce-qa
|
503
|
+
- .quarantine
|
504
|
+
- .rspec-report-opts
|
505
|
+
|
310
506
|
ee:instance_saml:
|
311
507
|
script:
|
312
508
|
- exe/gitlab-qa Test::Integration::InstanceSAML ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -316,6 +512,16 @@ ee:instance_saml:
|
|
316
512
|
- .ee-qa
|
317
513
|
- .rspec-report-opts
|
318
514
|
|
515
|
+
ee:instance_saml-quarantine:
|
516
|
+
script:
|
517
|
+
- exe/gitlab-qa Test::Integration::InstanceSAML ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
518
|
+
extends:
|
519
|
+
- .test
|
520
|
+
- .high-capacity
|
521
|
+
- .ee-qa
|
522
|
+
- .quarantine
|
523
|
+
- .rspec-report-opts
|
524
|
+
|
319
525
|
ee:group_saml:
|
320
526
|
script:
|
321
527
|
- exe/gitlab-qa Test::Integration::GroupSAML ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -325,6 +531,16 @@ ee:group_saml:
|
|
325
531
|
- .ee-qa
|
326
532
|
- .rspec-report-opts
|
327
533
|
|
534
|
+
ee:group_saml-quarantine:
|
535
|
+
script:
|
536
|
+
- exe/gitlab-qa Test::Integration::GroupSAML ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
537
|
+
extends:
|
538
|
+
- .test
|
539
|
+
- .high-capacity
|
540
|
+
- .ee-qa
|
541
|
+
- .quarantine
|
542
|
+
- .rspec-report-opts
|
543
|
+
|
328
544
|
ce:kubernetes:
|
329
545
|
script:
|
330
546
|
- exe/gitlab-qa Test::Integration::Kubernetes ${RELEASE:=CE} -- $RSPEC_REPORT_OPTS
|
@@ -334,6 +550,16 @@ ce:kubernetes:
|
|
334
550
|
- .ce-qa
|
335
551
|
- .rspec-report-opts
|
336
552
|
|
553
|
+
ce:kubernetes-quarantine:
|
554
|
+
script:
|
555
|
+
- exe/gitlab-qa Test::Integration::Kubernetes ${RELEASE:=CE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
556
|
+
extends:
|
557
|
+
- .test
|
558
|
+
- .high-capacity
|
559
|
+
- .ce-qa
|
560
|
+
- .quarantine
|
561
|
+
- .rspec-report-opts
|
562
|
+
|
337
563
|
ee:kubernetes:
|
338
564
|
script:
|
339
565
|
- exe/gitlab-qa Test::Integration::Kubernetes ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -343,6 +569,16 @@ ee:kubernetes:
|
|
343
569
|
- .ee-qa
|
344
570
|
- .rspec-report-opts
|
345
571
|
|
572
|
+
ee:kubernetes-quarantine:
|
573
|
+
script:
|
574
|
+
- exe/gitlab-qa Test::Integration::Kubernetes ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
575
|
+
extends:
|
576
|
+
- .test
|
577
|
+
- .high-capacity
|
578
|
+
- .ee-qa
|
579
|
+
- .quarantine
|
580
|
+
- .rspec-report-opts
|
581
|
+
|
346
582
|
ce:object_storage:
|
347
583
|
script:
|
348
584
|
- exe/gitlab-qa Test::Integration::ObjectStorage ${RELEASE:=CE} -- $RSPEC_REPORT_OPTS
|
@@ -352,6 +588,16 @@ ce:object_storage:
|
|
352
588
|
- .ce-qa
|
353
589
|
- .rspec-report-opts
|
354
590
|
|
591
|
+
ce:object_storage-quarantine:
|
592
|
+
script:
|
593
|
+
- exe/gitlab-qa Test::Integration::ObjectStorage ${RELEASE:=CE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
594
|
+
extends:
|
595
|
+
- .test
|
596
|
+
- .high-capacity
|
597
|
+
- .ce-qa
|
598
|
+
- .quarantine
|
599
|
+
- .rspec-report-opts
|
600
|
+
|
355
601
|
ee:object_storage:
|
356
602
|
script:
|
357
603
|
- exe/gitlab-qa Test::Integration::ObjectStorage ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -361,6 +607,16 @@ ee:object_storage:
|
|
361
607
|
- .ee-qa
|
362
608
|
- .rspec-report-opts
|
363
609
|
|
610
|
+
ee:object_storage-quarantine:
|
611
|
+
script:
|
612
|
+
- exe/gitlab-qa Test::Integration::ObjectStorage ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
613
|
+
extends:
|
614
|
+
- .test
|
615
|
+
- .high-capacity
|
616
|
+
- .ee-qa
|
617
|
+
- .quarantine
|
618
|
+
- .rspec-report-opts
|
619
|
+
|
364
620
|
ce:oauth:
|
365
621
|
script:
|
366
622
|
- exe/gitlab-qa Test::Integration::OAuth ${RELEASE:=CE} -- $RSPEC_REPORT_OPTS
|
@@ -370,6 +626,16 @@ ce:oauth:
|
|
370
626
|
- .ce-qa
|
371
627
|
- .rspec-report-opts
|
372
628
|
|
629
|
+
ce:oauth-quarantine:
|
630
|
+
script:
|
631
|
+
- exe/gitlab-qa Test::Integration::OAuth ${RELEASE:=CE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
632
|
+
extends:
|
633
|
+
- .test
|
634
|
+
- .high-capacity
|
635
|
+
- .ce-qa
|
636
|
+
- .quarantine
|
637
|
+
- .rspec-report-opts
|
638
|
+
|
373
639
|
ee:oauth:
|
374
640
|
script:
|
375
641
|
- exe/gitlab-qa Test::Integration::OAuth ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -379,6 +645,16 @@ ee:oauth:
|
|
379
645
|
- .ee-qa
|
380
646
|
- .rspec-report-opts
|
381
647
|
|
648
|
+
ee:oauth-quarantine:
|
649
|
+
script:
|
650
|
+
- exe/gitlab-qa Test::Integration::OAuth ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
651
|
+
extends:
|
652
|
+
- .test
|
653
|
+
- .high-capacity
|
654
|
+
- .ee-qa
|
655
|
+
- .quarantine
|
656
|
+
- .rspec-report-opts
|
657
|
+
|
382
658
|
ee:packages:
|
383
659
|
script:
|
384
660
|
- exe/gitlab-qa Test::Integration::Packages ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -388,6 +664,16 @@ ee:packages:
|
|
388
664
|
- .ee-qa
|
389
665
|
- .rspec-report-opts
|
390
666
|
|
667
|
+
ee:packages-quarantine:
|
668
|
+
script:
|
669
|
+
- exe/gitlab-qa Test::Integration::Packages ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
670
|
+
extends:
|
671
|
+
- .test
|
672
|
+
- .high-capacity
|
673
|
+
- .ee-qa
|
674
|
+
- .quarantine
|
675
|
+
- .rspec-report-opts
|
676
|
+
|
391
677
|
ee:elasticsearch:
|
392
678
|
script:
|
393
679
|
- exe/gitlab-qa Test::Integration::Elasticsearch ${RELEASE:=EE} -- $RSPEC_REPORT_OPTS
|
@@ -397,6 +683,16 @@ ee:elasticsearch:
|
|
397
683
|
- .ee-qa
|
398
684
|
- .rspec-report-opts
|
399
685
|
|
686
|
+
ee:elasticsearch-quarantine:
|
687
|
+
script:
|
688
|
+
- exe/gitlab-qa Test::Integration::Elasticsearch ${RELEASE:=EE} -- --tag quarantine $RSPEC_REPORT_OPTS
|
689
|
+
extends:
|
690
|
+
- .test
|
691
|
+
- .high-capacity
|
692
|
+
- .ee-qa
|
693
|
+
- .quarantine
|
694
|
+
- .rspec-report-opts
|
695
|
+
|
400
696
|
ce:praefect:
|
401
697
|
script:
|
402
698
|
- exe/gitlab-qa Test::Integration::Praefect ${RELEASE:=CE} -- $RSPEC_REPORT_OPTS
|
@@ -439,50 +735,27 @@ ee:smtp:
|
|
439
735
|
- .ee-qa
|
440
736
|
- .rspec-report-opts
|
441
737
|
|
442
|
-
.report-base:
|
443
|
-
image: ruby:2.6-alpine
|
444
|
-
variables:
|
445
|
-
BASE_ARTIFACT_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/file/"
|
446
|
-
COMBINED_REPORT: combined-report.html
|
447
|
-
artifacts:
|
448
|
-
when: always
|
449
|
-
paths:
|
450
|
-
- gitlab-qa-run-*
|
451
|
-
- combined-report.html
|
452
|
-
reports:
|
453
|
-
junit: gitlab-qa-run-*/**/rspec-*.xml
|
454
|
-
allow_failure: true
|
455
|
-
when: always
|
456
|
-
before_script:
|
457
|
-
- apk add --update build-base libxml2-dev libxslt-dev git && rm -rf /var/cache/apk/*
|
458
|
-
- gem install nokogiri gitlab --no-document
|
459
|
-
- cd gitlab-qa-run-*/gitlab-*
|
460
|
-
- ARTIFACT_DIRS=$(pwd |rev| awk -F / '{print $1,$2}' | rev | sed s_\ _/_)
|
461
|
-
- cd -
|
462
|
-
- '[[ -f $COMBINED_REPORT ]] || echo "{}" > ${COMBINED_REPORT}'
|
463
|
-
- bin/merge_html_reports ${COMBINED_REPORT} ${BASE_ARTIFACT_URL}${ARTIFACT_DIRS} gitlab-qa-run-*/**/rspec-*.htm
|
464
|
-
|
465
738
|
.notify_upstream_commit:
|
466
739
|
stage: notify
|
467
740
|
except:
|
468
741
|
variables:
|
469
742
|
- $TOP_UPSTREAM_SOURCE_PROJECT == null
|
470
743
|
- $TOP_UPSTREAM_SOURCE_SHA == null
|
744
|
+
before_script:
|
745
|
+
- gem install gitlab --no-document
|
471
746
|
|
472
747
|
notify_upstream_commit:success:
|
473
748
|
extends:
|
474
|
-
- .report-base
|
475
749
|
- .notify_upstream_commit
|
476
750
|
script:
|
477
|
-
- bin/notify_upstream_commit success
|
751
|
+
- bin/notify_upstream_commit success
|
478
752
|
when: on_success
|
479
753
|
|
480
754
|
notify_upstream_commit:failure:
|
481
755
|
extends:
|
482
|
-
- .report-base
|
483
756
|
- .notify_upstream_commit
|
484
757
|
script:
|
485
|
-
- bin/notify_upstream_commit failure
|
758
|
+
- bin/notify_upstream_commit failure
|
486
759
|
when: on_failure
|
487
760
|
|
488
761
|
# This job requires the `GITLAB_QA_ACCESS_TOKEN` and `GITLAB_QA_DEV_ACCESS_TOKEN`
|
@@ -520,17 +793,19 @@ release:
|
|
520
793
|
cache: {}
|
521
794
|
before_script:
|
522
795
|
- apk update && apk add git curl bash
|
523
|
-
only:
|
524
|
-
variables:
|
525
|
-
- $TOP_UPSTREAM_SOURCE_JOB && $NOTIFY_CHANNEL
|
526
796
|
|
527
797
|
notify_slack:
|
528
798
|
extends:
|
529
799
|
- .notify_slack
|
800
|
+
only:
|
801
|
+
variables:
|
802
|
+
- $TOP_UPSTREAM_SOURCE_JOB && $NOTIFY_CHANNEL
|
803
|
+
- $TOP_UPSTREAM_SOURCE_JOB && $TOP_UPSTREAM_SOURCE_REF == 'master'
|
530
804
|
script:
|
531
|
-
-
|
532
|
-
- echo "
|
805
|
+
- export RELEASE=${TOP_UPSTREAM_SOURCE_REF:-$RELEASE}
|
806
|
+
- echo "NOTIFY_CHANNEL is ${NOTIFY_CHANNEL:=qa-$TOP_UPSTREAM_SOURCE_REF}"
|
807
|
+
- echo "RELEASE is ${RELEASE}"
|
533
808
|
- echo "CI_PIPELINE_URL is $CI_PIPELINE_URL"
|
534
809
|
- echo "TOP_UPSTREAM_SOURCE_JOB is $TOP_UPSTREAM_SOURCE_JOB"
|
535
|
-
- bin/slack $NOTIFY_CHANNEL "☠️
|
810
|
+
- bin/slack $NOTIFY_CHANNEL "☠️ QA against $RELEASE failed! ☠️ See $CI_PIPELINE_URL (triggered from $TOP_UPSTREAM_SOURCE_JOB)" ci_failing
|
536
811
|
when: on_failure
|
data/bin/notify_upstream_commit
CHANGED
@@ -10,7 +10,7 @@ Gitlab.configure do |config|
|
|
10
10
|
end
|
11
11
|
|
12
12
|
class CommitComment
|
13
|
-
def self.post!(status
|
13
|
+
def self.post!(status)
|
14
14
|
unless ENV['TOP_UPSTREAM_SOURCE_SHA']
|
15
15
|
puts "The 'TOP_UPSTREAM_SOURCE_SHA' environment variable is missing, cannot post a comment on a missing upstream commit."
|
16
16
|
return
|
@@ -40,8 +40,6 @@ class CommitComment
|
|
40
40
|
top_upstream_source_sha,
|
41
41
|
<<~COMMENT
|
42
42
|
The [`gitlab-qa` downstream pipeline](#{ENV['CI_PIPELINE_URL']}) #{status_with_icon}.
|
43
|
-
|
44
|
-
You can download a report of the test results: [`#{report_file_name}`](#{ENV['CI_JOB_URL']}/artifacts/raw/#{report_file_name})
|
45
43
|
COMMENT
|
46
44
|
)
|
47
45
|
rescue Gitlab::Error::Error => error
|
@@ -50,9 +48,7 @@ class CommitComment
|
|
50
48
|
end
|
51
49
|
|
52
50
|
status = ARGV.shift.to_s.strip
|
53
|
-
report_file_name = ARGV.shift.to_s.strip
|
54
51
|
|
55
52
|
abort "Please provide a status!" if status == ''
|
56
|
-
abort "Please provide a file name for the report!" if report_file_name == ''
|
57
53
|
|
58
|
-
CommitComment.post!(status.to_sym
|
54
|
+
CommitComment.post!(status.to_sym)
|
data/docs/run_qa_against_gdk.md
CHANGED
@@ -34,6 +34,16 @@ make a few changes to your `gdk/gitlab/config/gitlab.yml` file.
|
|
34
34
|
# Then in gitlab-qa:
|
35
35
|
$ exe/gitlab-qa Test::Instance::Any gitlab/gitlab-ce:your-custom-tag http://192.168.0.12:3000 -- qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb
|
36
36
|
```
|
37
|
+
|
38
|
+
### Running EE tests
|
39
|
+
|
40
|
+
When running EE tests you'll need to have a license available. GitLab engineers can [request a license](https://about.gitlab.com/handbook/developer-onboarding/#working-on-gitlab-ee).
|
41
|
+
|
42
|
+
Once you have the license file you can export it as an environment variable and then `gitlab-qa` can use it. If you do so it will be installed automatically by the QA framework.
|
43
|
+
|
44
|
+
```
|
45
|
+
export EE_LICENSE=$(cat /path/to/gitlab_license)
|
46
|
+
```
|
37
47
|
|
38
48
|
## Run Geo QA tests against your Geo GDK setup
|
39
49
|
|
@@ -12,7 +12,7 @@ module Gitlab
|
|
12
12
|
include Scenario::Actable
|
13
13
|
|
14
14
|
attr_reader :release, :docker
|
15
|
-
attr_accessor :volumes, :network, :environment, :tls
|
15
|
+
attr_accessor :volumes, :network, :environment, :tls, :disable_animations
|
16
16
|
attr_writer :name, :relative_path, :exec_commands
|
17
17
|
|
18
18
|
def_delegators :release, :tag, :image, :edition
|
@@ -25,6 +25,7 @@ module Gitlab
|
|
25
25
|
@environment = {}
|
26
26
|
@volumes = {}
|
27
27
|
@network_aliases = []
|
28
|
+
@disable_animations = true
|
28
29
|
|
29
30
|
@volumes[CERTIFICATES_PATH] = SSL_PATH
|
30
31
|
|
@@ -87,6 +88,8 @@ module Gitlab
|
|
87
88
|
alias_method :launch_and_teardown_instance, :instance
|
88
89
|
|
89
90
|
def prepare
|
91
|
+
setup_disable_animations if disable_animations
|
92
|
+
|
90
93
|
@docker.pull(image, tag) unless Runtime::Env.skip_pull?
|
91
94
|
|
92
95
|
return if @docker.network_exists?(network)
|
@@ -94,6 +97,10 @@ module Gitlab
|
|
94
97
|
@docker.network_create(network)
|
95
98
|
end
|
96
99
|
|
100
|
+
def setup_disable_animations
|
101
|
+
@environment['GITLAB_OMNIBUS_CONFIG'] = "gitlab_rails['gitlab_disable_animations'] = true; #{@environment['GITLAB_OMNIBUS_CONFIG'] || ''}"
|
102
|
+
end
|
103
|
+
|
97
104
|
def start # rubocop:disable Metrics/AbcSize
|
98
105
|
ensure_configured!
|
99
106
|
|
data/lib/gitlab/qa/release.rb
CHANGED
@@ -22,16 +22,16 @@ module Gitlab
|
|
22
22
|
}xi
|
23
23
|
|
24
24
|
# Official dev tag example:
|
25
|
-
# 12.5.4-ee
|
26
|
-
#
|
27
|
-
# |
|
28
|
-
# |
|
29
|
-
# |
|
30
|
-
# |
|
25
|
+
# 12.5.4(-rc42)-ee
|
26
|
+
# |-------------|--|
|
27
|
+
# | |
|
28
|
+
# | |
|
29
|
+
# | |
|
30
|
+
# | edition
|
31
31
|
# version
|
32
32
|
DEV_OFFICIAL_TAG_REGEX = /
|
33
33
|
\A
|
34
|
-
(?<version>\d+\.\d+.\d+)-(?<edition>ce|ee)
|
34
|
+
(?<version>\d+\.\d+.\d+(?:-rc\d+)?)-(?<edition>ce|ee)
|
35
35
|
\z
|
36
36
|
/xi
|
37
37
|
|
@@ -101,7 +101,7 @@ module Gitlab
|
|
101
101
|
vars = {}
|
102
102
|
|
103
103
|
ENV_VARIABLES.each do |name, attribute|
|
104
|
-
# Variables that are
|
104
|
+
# Variables that are overridden in the environment take precedence
|
105
105
|
# over the defaults specified by the QA runtime.
|
106
106
|
value = env_value_if_defined(name) || send(attribute) # rubocop:disable GitlabSecurity/PublicSend
|
107
107
|
vars[name] = value if value
|
data/lib/gitlab/qa/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-qa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grzegorz Bizon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
- !ruby/object:Gem::Version
|
240
240
|
version: '0'
|
241
241
|
requirements: []
|
242
|
-
rubygems_version: 3.
|
242
|
+
rubygems_version: 3.1.2
|
243
243
|
signing_key:
|
244
244
|
specification_version: 4
|
245
245
|
summary: Integration tests for GitLab
|