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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
58d5d99f
Commit
58d5d99f
authored
Apr 27, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce dedicated-no-docs-and-no-qa-pull-cache-job
and skip db related jobs for QA branches
parent
b51f6e2c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
.gitlab-ci.yml
.gitlab-ci.yml
+10
-6
No files found.
.gitlab-ci.yml
View file @
58d5d99f
...
...
@@ -122,6 +122,10 @@ stages:
variables
:
SETUP_DB
:
"
false"
.dedicated-no-docs-and-no-qa-pull-cache-job
:
&dedicated-no-docs-and-no-qa-pull-cache-job
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*except-docs-and-qa
.rake-exec
:
&rake-exec
<<
:
*dedicated-no-docs-no-db-pull-cache-job
script
:
...
...
@@ -222,7 +226,7 @@ stages:
-
master@gitlab/gitlab-ee
.gitlab-setup
:
&gitlab-setup
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa-
pull-cache-job
<<
:
*use-pg
variables
:
CREATE_DB_USER
:
"
true"
...
...
@@ -262,12 +266,12 @@ stages:
# DB migration, rollback, and seed jobs
.db-migrate-reset
:
&db-migrate-reset
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa-
pull-cache-job
script
:
-
bundle exec rake db:migrate:reset
.migration-paths
:
&migration-paths
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa-
pull-cache-job
variables
:
CREATE_DB_USER
:
"
true"
script
:
...
...
@@ -647,7 +651,7 @@ migration:path-mysql:
<<
:
*use-mysql
.db-rollback
:
&db-rollback
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa-
pull-cache-job
script
:
-
bundle exec rake db:migrate VERSION=20170523121229
-
bundle exec rake db:migrate
...
...
@@ -670,7 +674,7 @@ gitlab:setup-mysql:
# Frontend-related jobs
gitlab:assets:compile:
<<
:
*dedicated-no-docs-
no-db
-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa
-pull-cache-job
dependencies
:
[]
variables
:
NODE_ENV
:
"
production"
...
...
@@ -691,7 +695,7 @@ gitlab:assets:compile:
-
webpack-report/
karma
:
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa-
pull-cache-job
<<
:
*use-pg
dependencies
:
-
compile-assets
...
...
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