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
Hide 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:
...
@@ -122,6 +122,10 @@ stages:
variables
:
variables
:
SETUP_DB
:
"
false"
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
.rake-exec
:
&rake-exec
<<
:
*dedicated-no-docs-no-db-pull-cache-job
<<
:
*dedicated-no-docs-no-db-pull-cache-job
script
:
script
:
...
@@ -222,7 +226,7 @@ stages:
...
@@ -222,7 +226,7 @@ stages:
-
master@gitlab/gitlab-ee
-
master@gitlab/gitlab-ee
.gitlab-setup
:
&gitlab-setup
.gitlab-setup
:
&gitlab-setup
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa-
pull-cache-job
<<
:
*use-pg
<<
:
*use-pg
variables
:
variables
:
CREATE_DB_USER
:
"
true"
CREATE_DB_USER
:
"
true"
...
@@ -262,12 +266,12 @@ stages:
...
@@ -262,12 +266,12 @@ stages:
# DB migration, rollback, and seed jobs
# DB migration, rollback, and seed jobs
.db-migrate-reset
:
&db-migrate-reset
.db-migrate-reset
:
&db-migrate-reset
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa-
pull-cache-job
script
:
script
:
-
bundle exec rake db:migrate:reset
-
bundle exec rake db:migrate:reset
.migration-paths
:
&migration-paths
.migration-paths
:
&migration-paths
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa-
pull-cache-job
variables
:
variables
:
CREATE_DB_USER
:
"
true"
CREATE_DB_USER
:
"
true"
script
:
script
:
...
@@ -647,7 +651,7 @@ migration:path-mysql:
...
@@ -647,7 +651,7 @@ migration:path-mysql:
<<
:
*use-mysql
<<
:
*use-mysql
.db-rollback
:
&db-rollback
.db-rollback
:
&db-rollback
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa-
pull-cache-job
script
:
script
:
-
bundle exec rake db:migrate VERSION=20170523121229
-
bundle exec rake db:migrate VERSION=20170523121229
-
bundle exec rake db:migrate
-
bundle exec rake db:migrate
...
@@ -670,7 +674,7 @@ gitlab:setup-mysql:
...
@@ -670,7 +674,7 @@ gitlab:setup-mysql:
# Frontend-related jobs
# Frontend-related jobs
gitlab:assets:compile:
gitlab:assets:compile:
<<
:
*dedicated-no-docs-
no-db
-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa
-pull-cache-job
dependencies
:
[]
dependencies
:
[]
variables
:
variables
:
NODE_ENV
:
"
production"
NODE_ENV
:
"
production"
...
@@ -691,7 +695,7 @@ gitlab:assets:compile:
...
@@ -691,7 +695,7 @@ gitlab:assets:compile:
-
webpack-report/
-
webpack-report/
karma
:
karma
:
<<
:
*dedicated-no-docs-pull-cache-job
<<
:
*dedicated-no-docs-
and-no-qa-
pull-cache-job
<<
:
*use-pg
<<
:
*use-pg
dependencies
:
dependencies
:
-
compile-assets
-
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