gitlab-qa 7.12.0 → 7.13.3
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 +188 -138
- data/docs/running_against_remote_grid.md +39 -10
- 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/env.rb +2 -0
- data/lib/gitlab/qa/runtime/omnibus_configurations/license_mode.rb +1 -1
- data/lib/gitlab/qa/scenario/test/instance/staging_ref.rb +18 -0
- data/lib/gitlab/qa/version.rb +1 -1
- data/lib/gitlab/qa.rb +2 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d3ffb02978235a44a7335c81ba6c2e4929e103194f25d496e71b3c2e97d43d2
|
4
|
+
data.tar.gz: 66d345d1c84916c55cedaed33b25074d5cfd6f06eb40f31fa6570cc2425c56dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f2b8e1bec8128104d81d79d2ec5dc86d08d13bd7fa988f44ffe312569875f9d0ab6f864356dfc804c5ba2207ffc05e6260669cbbf19c0ba9e0a9fbb8e8c5fa5
|
7
|
+
data.tar.gz: 8ca3dde5565b4ae744791ff1faec00088a0573102de1545f20c8192f00f08b7dad25f64e34a5c06b1cfbf066d248895926a99adb3260577d1febf16feb417df2
|
@@ -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]
|