Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
60646cd5
Commit
60646cd5
authored
Jun 01, 2021
by
Andrejs Cunskis
Committed by
Rémy Coutable
Jun 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create MR comment with allure test report urls
parent
327e6c3e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
3 deletions
+39
-3
.gitlab/ci/review.gitlab-ci.yml
.gitlab/ci/review.gitlab-ci.yml
+7
-3
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+29
-0
doc/development/testing_guide/review_apps.md
doc/development/testing_guide/review_apps.md
+3
-0
No files found.
.gitlab/ci/review.gitlab-ci.yml
View file @
60646cd5
...
@@ -144,18 +144,20 @@ review-stop:
...
@@ -144,18 +144,20 @@ review-stop:
.allure-report-base
:
.allure-report-base
:
image
:
image
:
name
:
${GITLAB_DEPENDENCY_PROXY}andrcuns/allure-report-publisher:0.
0.6
name
:
${GITLAB_DEPENDENCY_PROXY}andrcuns/allure-report-publisher:0.
3.1
entrypoint
:
[
"
"
]
entrypoint
:
[
"
"
]
stage
:
post-qa
stage
:
post-qa
variables
:
variables
:
GIT_STRATEGY
:
none
GIT_STRATEGY
:
none
STORAGE_CREDENTIALS
:
$QA_ALLURE_REPORT_GCS_CREDENTIALS
STORAGE_CREDENTIALS
:
$QA_ALLURE_REPORT_GCS_CREDENTIALS
GITLAB_AUTH_TOKEN
:
$GITLAB_QA_MR_ALLURE_REPORT_TOKEN
script
:
script
:
-
|
-
|
allure-report-publisher upload gcs \
allure-report-publisher upload gcs \
--results-glob="qa/gitlab-qa-run-*/**/allure-results/*" \
--results-glob="qa/gitlab-qa-run-*/**/allure-results/*" \
--bucket="gitlab-qa-allure-reports" \
--bucket="gitlab-qa-allure-reports" \
--prefix="$ALLURE_REPORT_PATH_PREFIX/$CI_COMMIT_REF_SLUG" \
--prefix="$ALLURE_REPORT_PATH_PREFIX/$CI_COMMIT_REF_SLUG" \
--update-pr="comment" \
--copy-latest \
--copy-latest \
--color
--color
...
@@ -231,18 +233,20 @@ parallel-spec-reports:
...
@@ -231,18 +233,20 @@ parallel-spec-reports:
allure-report-qa-smoke
:
allure-report-qa-smoke
:
extends
:
extends
:
-
.allure-report-base
-
.allure-report-base
-
.review:rules:review-qa-smoke
-
.review:rules:review-qa-smoke
-report
needs
:
[
"
review-qa-smoke"
]
needs
:
[
"
review-qa-smoke"
]
variables
:
variables
:
ALLURE_REPORT_PATH_PREFIX
:
gitlab-review-smoke
ALLURE_REPORT_PATH_PREFIX
:
gitlab-review-smoke
ALLURE_JOB_NAME
:
review-qa-smoke
allure-report-qa-all
:
allure-report-qa-all
:
extends
:
extends
:
-
.allure-report-base
-
.allure-report-base
-
.review:rules:review-qa-all
-
.review:rules:review-qa-all
-report
needs
:
[
"
review-qa-all"
]
needs
:
[
"
review-qa-all"
]
variables
:
variables
:
ALLURE_REPORT_PATH_PREFIX
:
gitlab-review-all
ALLURE_REPORT_PATH_PREFIX
:
gitlab-review-all
ALLURE_JOB_NAME
:
review-qa-all
danger-review
:
danger-review
:
extends
:
extends
:
...
...
.gitlab/ci/rules.gitlab-ci.yml
View file @
60646cd5
...
@@ -1130,6 +1130,22 @@
...
@@ -1130,6 +1130,22 @@
changes
:
*code-qa-patterns
changes
:
*code-qa-patterns
allow_failure
:
true
allow_failure
:
true
.review:rules:review-qa-smoke-report:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*ci-review-patterns
when
:
always
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*frontend-patterns
allow_failure
:
true
when
:
always
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*code-qa-patterns
allow_failure
:
true
when
:
always
.review:rules:review-qa-all:
.review:rules:review-qa-all:
rules
:
rules
:
-
<<
:
*if-not-ee
-
<<
:
*if-not-ee
...
@@ -1142,6 +1158,19 @@
...
@@ -1142,6 +1158,19 @@
changes
:
*qa-patterns
changes
:
*qa-patterns
allow_failure
:
true
allow_failure
:
true
.review:rules:review-qa-all-report:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*code-patterns
when
:
manual
allow_failure
:
true
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*qa-patterns
allow_failure
:
true
when
:
always
.review:rules:review-cleanup:
.review:rules:review-cleanup:
rules
:
rules
:
-
<<
:
*if-not-ee
-
<<
:
*if-not-ee
...
...
doc/development/testing_guide/review_apps.md
View file @
60646cd5
...
@@ -132,6 +132,9 @@ the QA smoke suite.
...
@@ -132,6 +132,9 @@ the QA smoke suite.
You can also manually start the
`review-qa-all`
: it runs the full QA suite.
You can also manually start the
`review-qa-all`
: it runs the full QA suite.
After the end-to-end test runs have finished,
[
Allure reports
](
https://github.com/allure-framework/allure2
)
are generated and published by
the
`allure-report-qa-smoke`
and
`allure-report-qa-all`
jobs. A comment with links to the reports are added to the merge request.
## Performance Metrics
## Performance Metrics
On every
[
pipeline
](
https://gitlab.com/gitlab-org/gitlab/pipelines/125315730
)
in the
`qa`
stage, the
On every
[
pipeline
](
https://gitlab.com/gitlab-org/gitlab/pipelines/125315730
)
in the
`qa`
stage, the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment