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
966ceeb4
Commit
966ceeb4
authored
Oct 14, 2021
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We don't need to run any as-if jobs for JiHu
Because they're redundant as they should have been run in EE.
parent
d0f22537
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+15
-0
No files found.
.gitlab/ci/rules.gitlab-ci.yml
View file @
966ceeb4
...
...
@@ -10,6 +10,9 @@
.if-not-foss
:
&if-not-foss
if
:
'
$CI_PROJECT_NAME
!=
"gitlab-foss"
&&
$CI_PROJECT_NAME
!=
"gitlab-ce"
&&
$CI_PROJECT_NAME
!=
"gitlabhq"'
.if-jh
:
&if-jh
if
:
'
$CI_PROJECT_PATH
==
"gitlab-jh/gitlab"'
.if-default-refs
:
&if-default-refs
if
:
'
$CI_COMMIT_REF_NAME
==
$CI_DEFAULT_BRANCH
||
$CI_COMMIT_REF_NAME
=~
/^[\d-]+-stable(-ee)?$/
||
$CI_COMMIT_REF_NAME
=~
/^\d+-\d+-auto-deploy-\d+$/
||
$CI_COMMIT_REF_NAME
=~
/^security\//
||
$CI_MERGE_REQUEST_IID
||
$CI_COMMIT_TAG
||
$FORCE_GITLAB_CI'
...
...
@@ -503,6 +506,8 @@
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-jh
when
:
never
-
<<
:
*if-merge-request-labels-as-if-jh
-
<<
:
*if-merge-request-labels-run-all-rspec
-
changes
:
*code-backstage-qa-patterns
...
...
@@ -517,6 +522,8 @@
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-jh
when
:
never
-
<<
:
*if-security-merge-request
changes
:
*code-backstage-patterns
-
<<
:
*if-merge-request-labels-as-if-foss
...
...
@@ -530,6 +537,8 @@
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-jh
when
:
never
-
<<
:
*if-security-merge-request
changes
:
*code-backstage-patterns
-
<<
:
*if-merge-request-labels-as-if-jh
...
...
@@ -579,6 +588,8 @@
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-jh
when
:
never
# We already have `static-analysis as-if-foss` which already runs `lint:eslint:all` if the `pipeline:run-as-if-foss` label is set.
-
<<
:
*if-merge-request-labels-as-if-foss
when
:
never
...
...
@@ -648,6 +659,8 @@
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-jh
when
:
never
-
<<
:
*if-security-merge-request
changes
:
*code-qa-patterns
-
<<
:
*if-merge-request-labels-as-if-foss
...
...
@@ -1597,6 +1610,8 @@
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-jh
when
:
never
-
<<
:
*if-merge-request-labels-as-if-jh
-
<<
:
*if-merge-request-labels-run-all-rspec
-
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