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
bbf311dd
Commit
bbf311dd
authored
Nov 22, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: Don't run 'as-if-jh' jobs in MRs targeting stable branches
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
d800938c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+11
-0
No files found.
.gitlab/ci/rules.gitlab-ci.yml
View file @
bbf311dd
...
@@ -40,6 +40,9 @@
...
@@ -40,6 +40,9 @@
.if-automated-merge-request
:
&if-automated-merge-request
.if-automated-merge-request
:
&if-automated-merge-request
if
:
'
$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
==
"release-tools/update-gitaly"
||
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
=~
/stable-ee$/'
if
:
'
$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
==
"release-tools/update-gitaly"
||
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
=~
/stable-ee$/'
.if-merge-request-targeting-stable-branch
:
&if-merge-request-targeting-stable-branch
if
:
'
$CI_MERGE_REQUEST_IID
&&
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
=~
/^[\d-]+-stable(-ee)?$/'
.if-merge-request-labels-as-if-foss
:
&if-merge-request-labels-as-if-foss
.if-merge-request-labels-as-if-foss
:
&if-merge-request-labels-as-if-foss
if
:
'
$CI_MERGE_REQUEST_LABELS
=~
/pipeline:run-as-if-foss/'
if
:
'
$CI_MERGE_REQUEST_LABELS
=~
/pipeline:run-as-if-foss/'
...
@@ -576,6 +579,8 @@
...
@@ -576,6 +579,8 @@
when
:
never
when
:
never
-
<<
:
*if-security-merge-request
-
<<
:
*if-security-merge-request
when
:
never
when
:
never
-
<<
:
*if-merge-request-targeting-stable-branch
when
:
never
-
<<
:
*if-merge-request-labels-as-if-jh
-
<<
:
*if-merge-request-labels-as-if-jh
-
<<
:
*if-merge-request-labels-run-all-rspec
-
<<
:
*if-merge-request-labels-run-all-rspec
-
changes
:
*code-backstage-qa-patterns
-
changes
:
*code-backstage-qa-patterns
...
@@ -609,6 +614,8 @@
...
@@ -609,6 +614,8 @@
when
:
never
when
:
never
-
<<
:
*if-security-merge-request
-
<<
:
*if-security-merge-request
when
:
never
when
:
never
-
<<
:
*if-merge-request-targeting-stable-branch
when
:
never
-
<<
:
*if-merge-request-labels-as-if-jh
-
<<
:
*if-merge-request-labels-as-if-jh
-
<<
:
*if-merge-request-labels-run-all-rspec
-
<<
:
*if-merge-request-labels-run-all-rspec
-
<<
:
*if-merge-request
-
<<
:
*if-merge-request
...
@@ -1250,6 +1257,8 @@
...
@@ -1250,6 +1257,8 @@
when
:
never
when
:
never
-
<<
:
*if-security-merge-request
-
<<
:
*if-security-merge-request
when
:
never
when
:
never
-
<<
:
*if-merge-request-targeting-stable-branch
when
:
never
-
<<
:
*if-merge-request-labels-as-if-jh
-
<<
:
*if-merge-request-labels-as-if-jh
allow_failure
:
true
allow_failure
:
true
-
<<
:
*if-merge-request
-
<<
:
*if-merge-request
...
@@ -1693,6 +1702,8 @@
...
@@ -1693,6 +1702,8 @@
when
:
never
when
:
never
-
<<
:
*if-security-merge-request
-
<<
:
*if-security-merge-request
when
:
never
when
:
never
-
<<
:
*if-merge-request-targeting-stable-branch
when
:
never
-
<<
:
*if-merge-request-labels-as-if-jh
-
<<
:
*if-merge-request-labels-as-if-jh
-
<<
:
*if-merge-request-labels-run-all-rspec
-
<<
:
*if-merge-request-labels-run-all-rspec
-
changes
:
*code-backstage-qa-patterns
-
changes
:
*code-backstage-qa-patterns
...
...
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