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
7c7c50e0
Commit
7c7c50e0
authored
Apr 24, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only run the coverage jobs for EE master and MRs
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
be07e235
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
.gitlab/ci/frontend.gitlab-ci.yml
.gitlab/ci/frontend.gitlab-ci.yml
+1
-1
.gitlab/ci/rails.gitlab-ci.yml
.gitlab/ci/rails.gitlab-ci.yml
+1
-1
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+18
-0
No files found.
.gitlab/ci/frontend.gitlab-ci.yml
View file @
7c7c50e0
...
@@ -241,7 +241,7 @@ jest-as-if-foss:
...
@@ -241,7 +241,7 @@ jest-as-if-foss:
coverage-frontend
:
coverage-frontend
:
extends
:
extends
:
-
.default-retry
-
.default-retry
-
.frontend:rules:
default-frontend-jobs-no-foss
-
.frontend:rules:
ee-mr-and-master-only
needs
:
[
"
jest"
]
needs
:
[
"
jest"
]
stage
:
post-test
stage
:
post-test
before_script
:
before_script
:
...
...
.gitlab/ci/rails.gitlab-ci.yml
View file @
7c7c50e0
...
@@ -197,7 +197,7 @@ gitlab:setup:
...
@@ -197,7 +197,7 @@ gitlab:setup:
rspec:coverage:
rspec:coverage:
extends
:
extends
:
-
.rails-job-base
-
.rails-job-base
-
.rails:rules:ee-only
-
.rails:rules:ee-
mr-and-master-
only
stage
:
post-test
stage
:
post-test
# We cannot use needs since it would mean needing 84 jobs (since most are parallelized)
# We cannot use needs since it would mean needing 84 jobs (since most are parallelized)
# so we use `dependencies` here.
# so we use `dependencies` here.
...
...
.gitlab/ci/rules.gitlab-ci.yml
View file @
7c7c50e0
...
@@ -287,6 +287,15 @@
...
@@ -287,6 +287,15 @@
changes
:
*code-backstage-patterns
changes
:
*code-backstage-patterns
when
:
on_success
when
:
on_success
.frontend:rules:ee-mr-and-master-only:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-merge-request
changes
:
*code-backstage-patterns
-
<<
:
*if-master-refs
changes
:
*code-backstage-patterns
.frontend:rules:qa-frontend-node:
.frontend:rules:qa-frontend-node:
rules
:
rules
:
-
<<
:
*if-master-refs
-
<<
:
*if-master-refs
...
@@ -390,6 +399,15 @@
...
@@ -390,6 +399,15 @@
changes
:
*code-backstage-patterns
changes
:
*code-backstage-patterns
when
:
on_success
when
:
on_success
.rails:rules:ee-mr-and-master-only:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-merge-request
changes
:
*code-backstage-patterns
-
<<
:
*if-master-refs
changes
:
*code-backstage-patterns
.rails:rules:downtime_check:
.rails:rules:downtime_check:
rules
:
rules
:
-
<<
:
*if-merge-request
-
<<
:
*if-merge-request
...
...
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