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
a83ea831
Commit
a83ea831
authored
Jul 08, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to run all the RSpec jobs with 'RUN ALL RSPEC' in MR title
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
0e908820
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+14
-0
doc/development/pipelines.md
doc/development/pipelines.md
+5
-0
No files found.
.gitlab/ci/rules.gitlab-ci.yml
View file @
a83ea831
...
...
@@ -40,6 +40,9 @@
.if-merge-request-title-update-caches
:
&if-merge-request-title-update-caches
if
:
'
$CI_MERGE_REQUEST_TITLE
=~
/UPDATE
CACHE/'
.if-merge-request-title-run-all-rspec
:
&if-merge-request-title-run-all-rspec
if
:
'
$CI_MERGE_REQUEST_TITLE
=~
/RUN
ALL
RSPEC/'
.if-security-merge-request
:
&if-security-merge-request
if
:
'
$CI_PROJECT_NAMESPACE
==
"gitlab-org/security"
&&
$CI_MERGE_REQUEST_IID'
...
...
@@ -429,22 +432,27 @@
.rails:rules:ee-and-foss-migration:
rules
:
-
changes
:
*db-patterns
-
<<
:
*if-merge-request-title-run-all-rspec
.rails:rules:ee-and-foss-unit:
rules
:
-
changes
:
*backend-patterns
-
<<
:
*if-merge-request-title-run-all-rspec
.rails:rules:ee-and-foss-integration:
rules
:
-
changes
:
*backend-patterns
-
<<
:
*if-merge-request-title-run-all-rspec
.rails:rules:ee-and-foss-system:
rules
:
-
changes
:
*code-backstage-patterns
-
<<
:
*if-merge-request-title-run-all-rspec
.rails:rules:ee-and-foss-fast_spec_helper:
rules
:
-
changes
:
[
"
config/**/*"
]
-
<<
:
*if-merge-request-title-run-all-rspec
.rails:rules:default-refs-code-backstage-qa:
rules
:
...
...
@@ -456,24 +464,28 @@
-
<<
:
*if-not-ee
when
:
never
-
changes
:
*db-patterns
-
<<
:
*if-merge-request-title-run-all-rspec
.rails:rules:ee-only-unit:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
changes
:
*backend-patterns
-
<<
:
*if-merge-request-title-run-all-rspec
.rails:rules:ee-only-integration:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
changes
:
*backend-patterns
-
<<
:
*if-merge-request-title-run-all-rspec
.rails:rules:ee-only-system:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
changes
:
*code-backstage-patterns
-
<<
:
*if-merge-request-title-run-all-rspec
.rails:rules:as-if-foss-migration:
rules
:
...
...
@@ -519,6 +531,7 @@
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-merge-request-title-run-all-rspec
-
<<
:
*if-merge-request
changes
:
*code-backstage-patterns
-
<<
:
*if-master-refs
...
...
@@ -545,6 +558,7 @@
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-master-schedule-2-hourly
-
<<
:
*if-merge-request-title-run-all-rspec
##################
# Releases rules #
...
...
doc/development/pipelines.md
View file @
a83ea831
...
...
@@ -388,6 +388,11 @@ We follow the [PostgreSQL versions shipped with Omnibus GitLab](https://docs.git
Consult
[
GitLab tests in the Continuous Integration (CI) context
](
testing_guide/ci.md
)
for more information.
We have dedicated jobs for each
[
testing level
](
testing_guide/testing_levels.md
)
and each job runs depending on the
changes made in your merge request.
If you want to force all the RSpec jobs to run regardless of your changes, you can include
`RUN ALL RSPEC`
in your merge
request title.
### Review app jobs
Consult the
[
Review Apps
](
testing_guide/review_apps.md
)
dedicated page for more information.
...
...
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