gitlab-qa 7.11.0 → 7.13.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab/ci/rules.gitlab-ci.yml +100 -0
- data/.gitlab-ci.yml +222 -136
- data/docs/what_tests_can_be_run.md +60 -22
- data/lib/gitlab/qa/component/preprod.rb +0 -4
- data/lib/gitlab/qa/component/production.rb +0 -4
- data/lib/gitlab/qa/component/release.rb +0 -4
- data/lib/gitlab/qa/component/staging_ref.rb +9 -0
- data/lib/gitlab/qa/report/report_as_issue.rb +1 -1
- data/lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb +19 -0
- data/lib/gitlab/qa/scenario/test/instance/staging_ref.rb +18 -0
- data/lib/gitlab/qa/scenario/test/integration/gitaly_cluster.rb +1 -0
- data/lib/gitlab/qa/scenario/test/integration/registry.rb +2 -11
- data/lib/gitlab/qa/scenario/test/integration/registry_tls.rb +44 -0
- data/lib/gitlab/qa/version.rb +1 -1
- data/lib/gitlab/qa.rb +4 -0
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b871a70af32053e7d32aee98e213a86bcf4e8d05d69fad97bf8180a0bd618656
|
4
|
+
data.tar.gz: 73d91628111ea86a9e7c13cf1ff11b21e60ed14ba028d722becba4c1df65e606
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cf779ac1691072e13d3e616906200b291ef88f755985ae75ec24cc87e8a176acd9d120a9034011546253d7ea065b07d4b1d6fc45cb4f3d7a12324fbfc81115f
|
7
|
+
data.tar.gz: 56c646ad59e829fe29f3227d5d0bd169d2088d049b02866e9aca2b5ba0471cf335674c2611f97deb8415ff424edbe78159e77e38a245d080e0dd739beae8acd4
|
@@ -0,0 +1,100 @@
|
|
1
|
+
##############
|
2
|
+
# Conditions #
|
3
|
+
##############
|
4
|
+
.if-default-refs-or-ce: &if-default-refs-or-ce
|
5
|
+
if: '$RELEASE == null || $RELEASE =~ /gitlab-ce/ || $CI_MERGE_REQUEST_ID || $CI_COMMIT_REF_NAME == "master"'
|
6
|
+
|
7
|
+
.if-default-refs-or-ee: &if-default-refs-or-ee
|
8
|
+
if: '$RELEASE == null || $RELEASE =~ /gitlab-ee/ || $CI_MERGE_REQUEST_ID || $CI_COMMIT_REF_NAME == "master"'
|
9
|
+
|
10
|
+
.if-not-gitlab-qa-release: &if-not-gitlab-qa-release
|
11
|
+
if: '$CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_PATH == "gitlab-org/gitlab-qa" && $RELEASE == null'
|
12
|
+
|
13
|
+
.if-staging-and-not-release: &if-staging-and-not-release
|
14
|
+
if: '$RELEASE == null && $CI_JOB_NAME =~ /staging/'
|
15
|
+
|
16
|
+
.if-quarantine-or-custom-and-not-release: &if-quarantine-or-custom-and-not-release
|
17
|
+
if: '$RELEASE == null && $CI_JOB_NAME =~ /quarantine|custom/'
|
18
|
+
|
19
|
+
.if-quarantine-or-custom-and-ee-release: &if-quarantine-or-custom-and-ee-release
|
20
|
+
if: '$RELEASE =~ /gitlab-ee/ && $CI_JOB_NAME =~ /quarantine|custom/'
|
21
|
+
|
22
|
+
.if-quarantine-or-custom-and-ce-release: &if-quarantine-or-custom-and-ce-release
|
23
|
+
if: '$RELEASE =~ /gitlab-ce/ && $CI_JOB_NAME =~ /quarantine|custom/'
|
24
|
+
|
25
|
+
.if-quarantine-or-custom-and-merge-request: &if-quarantine-or-custom-and-merge-request
|
26
|
+
if: '$CI_MERGE_REQUEST_ID && $CI_JOB_NAME =~ /quarantine|custom/'
|
27
|
+
|
28
|
+
.if-tag-or-ee-release: &if-tag-or-ee-release
|
29
|
+
if: '$CI_COMMIT_TAG || $RELEASE =~ /gitlab-ee/'
|
30
|
+
|
31
|
+
.if-tag-or-ce-release: &if-tag-or-ce-release
|
32
|
+
if: '$CI_COMMIT_TAG || $RELEASE =~ /gitlab-ce/'
|
33
|
+
|
34
|
+
.if-tag-or-release: &if-tag-or-release
|
35
|
+
if: '$CI_COMMIT_TAG || $RELEASE'
|
36
|
+
|
37
|
+
.if-set-feature-flag: &if-set-feature-flag
|
38
|
+
if: '$GITLAB_QA_OPTIONS =~ /--set-feature-flags/'
|
39
|
+
|
40
|
+
#########
|
41
|
+
# Rules #
|
42
|
+
#########
|
43
|
+
|
44
|
+
.rules:ce-qa:
|
45
|
+
rules:
|
46
|
+
- <<: *if-not-gitlab-qa-release
|
47
|
+
changes: ["lib/**/version.rb"]
|
48
|
+
when: never
|
49
|
+
- <<: *if-tag-or-ee-release
|
50
|
+
when: never
|
51
|
+
- <<: *if-quarantine-or-custom-and-not-release
|
52
|
+
when: manual
|
53
|
+
- <<: *if-quarantine-or-custom-and-ce-release
|
54
|
+
when: manual
|
55
|
+
- <<: *if-quarantine-or-custom-and-merge-request
|
56
|
+
when: manual
|
57
|
+
- <<: *if-default-refs-or-ce
|
58
|
+
|
59
|
+
.rules:ee-qa:
|
60
|
+
rules:
|
61
|
+
- <<: *if-not-gitlab-qa-release
|
62
|
+
changes: ["lib/**/version.rb"]
|
63
|
+
when: never
|
64
|
+
- <<: *if-tag-or-ce-release
|
65
|
+
when: never
|
66
|
+
- <<: *if-quarantine-or-custom-and-not-release
|
67
|
+
when: manual
|
68
|
+
- <<: *if-quarantine-or-custom-and-ee-release
|
69
|
+
when: manual
|
70
|
+
- <<: *if-quarantine-or-custom-and-merge-request
|
71
|
+
when: manual
|
72
|
+
- <<: *if-default-refs-or-ee
|
73
|
+
|
74
|
+
.rules:only-qa:
|
75
|
+
rules:
|
76
|
+
- <<: *if-not-gitlab-qa-release
|
77
|
+
changes: ["lib/**/version.rb"]
|
78
|
+
when: never
|
79
|
+
- <<: *if-tag-or-release
|
80
|
+
when: never
|
81
|
+
- <<: *if-staging-and-not-release
|
82
|
+
when: manual
|
83
|
+
|
84
|
+
.rules:ce-never-when-triggered-by-feature-flag-definition-change:
|
85
|
+
rules:
|
86
|
+
- <<: *if-set-feature-flag
|
87
|
+
when: never
|
88
|
+
- !reference [".rules:ce-qa", rules]
|
89
|
+
|
90
|
+
.rules:ee-never-when-triggered-by-feature-flag-definition-change:
|
91
|
+
rules:
|
92
|
+
- <<: *if-set-feature-flag
|
93
|
+
when: never
|
94
|
+
- !reference [".rules:ee-qa", rules]
|
95
|
+
|
96
|
+
.rules:only-qa-never-when-triggered-by-feature-flag-definition-change:
|
97
|
+
rules:
|
98
|
+
- <<: *if-set-feature-flag
|
99
|
+
when: never
|
100
|
+
- !reference [".rules:only-qa", rules]
|