gitlab-qa 7.24.6 → 7.25.0
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 +19 -6
- data/.gitlab-ci.yml +111 -1332
- data/docs/what_tests_can_be_run.md +15 -0
- data/lib/gitlab/qa/component/gitlab.rb +35 -0
- data/lib/gitlab/qa/component/staging_ref.rb +1 -0
- data/lib/gitlab/qa/docker/engine.rb +4 -0
- data/lib/gitlab/qa/release.rb +1 -1
- data/lib/gitlab/qa/runner.rb +10 -0
- data/lib/gitlab/qa/runtime/env.rb +13 -0
- data/lib/gitlab/qa/scenario/test/instance/staging_ref_geo.rb +27 -0
- data/lib/gitlab/qa/scenario/test/integration/registry_with_cdn.rb +42 -0
- data/lib/gitlab/qa/version.rb +1 -1
- data/lib/gitlab/qa.rb +2 -0
- data/scripts/generate-qa-jobs.rb +1741 -0
- data/support/data/license_usage_seed.rb +75 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d63cf60f15e33988af850fbe566a6f46d695f572083bfff13870598058aebaa
|
4
|
+
data.tar.gz: ccb96a5c450f8bb16d7c032953c3894f6ec9dcaec61a77d60484351e1db588d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 451356306a538d083f628ccfaefc60c009374204ecbcf05865b88aa927b68a0bd52937229707b6c81744a4a8d41c65951edb585c956392b616f3fb373d360fcf
|
7
|
+
data.tar.gz: dd1eb4ba25977779838692dc7085d9a4b25f166217997775f016c07ceaee75259e7b7f3f8d86ef2d2c38cfe9195a7edd1b1d9c6150bd9d061b522b4aa66d0c57
|
@@ -2,19 +2,23 @@
|
|
2
2
|
# Conditions #
|
3
3
|
##############
|
4
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"'
|
5
|
+
if: '$RELEASE == null || $RELEASE == "" || $RELEASE =~ /gitlab-ce/ || $CI_MERGE_REQUEST_ID || $CI_COMMIT_REF_NAME == "master"'
|
6
6
|
|
7
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"'
|
8
|
+
if: '$RELEASE == null || $RELEASE == "" || $RELEASE =~ /gitlab-ee/ || $CI_MERGE_REQUEST_ID || $CI_COMMIT_REF_NAME == "master"'
|
9
9
|
|
10
|
+
.if-default-refs-or-ce-or-ee: &if-default-refs-or-ce-or-ee
|
11
|
+
if: '$RELEASE == null || $RELEASE == "" || $RELEASE =~ /gitlab-ce|gitlab-ee/ || $CI_MERGE_REQUEST_ID || $CI_COMMIT_REF_NAME == "master"'
|
12
|
+
|
13
|
+
# In trigger jobs, such as `trigger-generated-jobs`, if a variable does not have a value set, the job will receive it literally as is i.e., "$RELEASE" in this case.
|
10
14
|
.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'
|
15
|
+
if: '$CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_PATH == "gitlab-org/gitlab-qa" && ($RELEASE == null || $RELEASE == "" || $RELEASE == "$RELEASE")'
|
12
16
|
|
13
17
|
.if-staging-and-not-release: &if-staging-and-not-release
|
14
|
-
if: '$RELEASE == null && $CI_JOB_NAME =~ /staging/'
|
18
|
+
if: '($RELEASE == null || $RELEASE == "") && $CI_JOB_NAME =~ /staging/'
|
15
19
|
|
16
20
|
.if-quarantine-or-custom-and-not-release: &if-quarantine-or-custom-and-not-release
|
17
|
-
if: '$RELEASE == null && $CI_JOB_NAME =~ /quarantine|custom/'
|
21
|
+
if: '($RELEASE == null || $RELEASE == "") && $CI_JOB_NAME =~ /quarantine|custom/'
|
18
22
|
|
19
23
|
.if-quarantine-or-custom-and-ee-release: &if-quarantine-or-custom-and-ee-release
|
20
24
|
if: '$RELEASE =~ /gitlab-ee/ && $CI_JOB_NAME =~ /quarantine|custom/'
|
@@ -32,7 +36,7 @@
|
|
32
36
|
if: '$CI_COMMIT_TAG || $RELEASE =~ /gitlab-ce/'
|
33
37
|
|
34
38
|
.if-tag-or-release: &if-tag-or-release
|
35
|
-
if: '$CI_COMMIT_TAG || $RELEASE'
|
39
|
+
if: '$CI_COMMIT_TAG || ($RELEASE != null && $RELEASE != "")'
|
36
40
|
|
37
41
|
.if-set-feature-flag: &if-set-feature-flag
|
38
42
|
if: '$GITLAB_QA_OPTIONS =~ /--set-feature-flags/'
|
@@ -77,6 +81,15 @@
|
|
77
81
|
when: manual
|
78
82
|
- <<: *if-default-refs-or-ee
|
79
83
|
|
84
|
+
.rules:never-on-version-change-or-tag:
|
85
|
+
rules:
|
86
|
+
- <<: *if-not-gitlab-qa-release
|
87
|
+
changes: ["lib/**/version.rb"]
|
88
|
+
when: never
|
89
|
+
- if: '$CI_COMMIT_TAG'
|
90
|
+
when: never
|
91
|
+
- <<: *if-default-refs-or-ce-or-ee
|
92
|
+
|
80
93
|
.rules:only-qa:
|
81
94
|
rules:
|
82
95
|
- <<: *if-not-gitlab-qa-release
|