gitlab-qa 7.24.4 → 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/issue_templates/Default.md +13 -0
- data/.gitlab/merge_request_templates/Default.md +46 -0
- data/.gitlab-ci.yml +115 -1331
- data/Dangerfile +1 -3
- data/docs/what_tests_can_be_run.md +15 -0
- data/gitlab-qa.gemspec +1 -1
- 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/report/gitlab_issue_client.rb +12 -0
- data/lib/gitlab/qa/report/relate_failure_issue.rb +27 -5
- 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 +10 -5
- data/.gitlab/ci/danger.gitlab-ci.yml +0 -25
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
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!--
|
2
|
+
Before raising an issue to the GitLab issue tracker, please read through our guide for finding help to determine the best place to post:
|
3
|
+
|
4
|
+
* https://about.gitlab.com/getting-help/
|
5
|
+
|
6
|
+
If you are experiencing an issue when using GitLab.com, your first port of call should be the Community Forum. Your issue may have already been reported there by another user. Please check:
|
7
|
+
|
8
|
+
* https://forum.gitlab.com/
|
9
|
+
|
10
|
+
If you feel that your issue can be categorized as a reproducible bug or a feature proposal, please use one of the issue templates provided and include as much information as possible.
|
11
|
+
|
12
|
+
Thank you for helping to make GitLab a better product.
|
13
|
+
-->
|
@@ -0,0 +1,46 @@
|
|
1
|
+
## What does this MR do and why?
|
2
|
+
|
3
|
+
_Describe in detail what your merge request does and why._
|
4
|
+
|
5
|
+
<!--
|
6
|
+
Please keep this description updated with any discussion that takes place so
|
7
|
+
that reviewers can understand your intent. Keeping the description updated is
|
8
|
+
especially important if they didn't participate in the discussion.
|
9
|
+
-->
|
10
|
+
|
11
|
+
## Screenshots or screen recordings
|
12
|
+
|
13
|
+
_These are strongly recommended to assist reviewers and reduce the time to merge your change._
|
14
|
+
|
15
|
+
<!--
|
16
|
+
Please include any relevant screenshots or screen recordings that will assist
|
17
|
+
reviewers and future readers. If you need help visually verifying the change,
|
18
|
+
please leave a comment and ping a GitLab reviewer, maintainer, or MR coach.
|
19
|
+
-->
|
20
|
+
|
21
|
+
## How to set up and validate locally
|
22
|
+
|
23
|
+
_Numbered steps to set up and validate the change are strongly suggested._
|
24
|
+
|
25
|
+
<!--
|
26
|
+
Example below:
|
27
|
+
|
28
|
+
1. Enable the invite modal
|
29
|
+
```ruby
|
30
|
+
Feature.enable(:invite_members_group_modal)
|
31
|
+
```
|
32
|
+
1. In rails console enable the experiment fully
|
33
|
+
```ruby
|
34
|
+
Feature.enable(:member_areas_of_focus)
|
35
|
+
```
|
36
|
+
1. Visit any group or project member pages such as `http://127.0.0.1:3000/groups/flightjs/-/group_members`
|
37
|
+
1. Click the `invite members` button.
|
38
|
+
-->
|
39
|
+
|
40
|
+
## MR acceptance checklist
|
41
|
+
|
42
|
+
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
|
43
|
+
|
44
|
+
* [ ] I have evaluated the [MR acceptance checklist](https://docs.gitlab.com/ee/development/code_review.html#acceptance-checklist) for this MR.
|
45
|
+
|
46
|
+
/label ~QA ~Quality
|