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
902bd84b
Commit
902bd84b
authored
May 03, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorganize static analysis and DB-related jobs
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
33de07ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
29 deletions
+27
-29
.gitlab-ci.yml
.gitlab-ci.yml
+27
-29
No files found.
.gitlab-ci.yml
View file @
902bd84b
...
@@ -264,7 +264,7 @@ spinach-mysql 7 10: *spinach-knapsack-mysql
...
@@ -264,7 +264,7 @@ spinach-mysql 7 10: *spinach-knapsack-mysql
spinach-mysql 8 10
:
*spinach-knapsack-mysql
spinach-mysql 8 10
:
*spinach-knapsack-mysql
spinach-mysql 9 10
:
*spinach-knapsack-mysql
spinach-mysql 9 10
:
*spinach-knapsack-mysql
#
Other generic test
s
#
Static analysis job
s
.ruby-static-analysis
:
&ruby-static-analysis
.ruby-static-analysis
:
&ruby-static-analysis
variables
:
variables
:
SIMPLECOV
:
"
false"
SIMPLECOV
:
"
false"
...
@@ -333,6 +333,7 @@ ee_compat_check:
...
@@ -333,6 +333,7 @@ ee_compat_check:
paths
:
paths
:
-
ee_compat_check/patches/*.patch
-
ee_compat_check/patches/*.patch
# DB migration, rollback, and seed jobs
.db-migrate-reset
:
&db-migrate-reset
.db-migrate-reset
:
&db-migrate-reset
stage
:
test
stage
:
test
<<
:
*dedicated-runner
<<
:
*dedicated-runner
...
@@ -348,6 +349,30 @@ db:migrate:reset-mysql:
...
@@ -348,6 +349,30 @@ db:migrate:reset-mysql:
<<
:
*db-migrate-reset
<<
:
*db-migrate-reset
<<
:
*use-mysql
<<
:
*use-mysql
.migration-paths
:
&migration-paths
stage
:
test
<<
:
*dedicated-runner
variables
:
SETUP_DB
:
"
false"
<<
:
*only-canonical-masters
script
:
-
git fetch origin v8.14.10
-
git checkout -f FETCH_HEAD
-
bundle install $BUNDLE_INSTALL_FLAGS
-
bundle exec rake db:drop db:create db:schema:load db:seed_fu
-
git checkout $CI_COMMIT_SHA
-
bundle install $BUNDLE_INSTALL_FLAGS
-
. scripts/prepare_build.sh
-
bundle exec rake db:migrate
migration:path-pg:
<<
:
*migration-paths
<<
:
*use-pg
migration:path-mysql:
<<
:
*migration-paths
<<
:
*use-mysql
.db-rollback
:
&db-rollback
.db-rollback
:
&db-rollback
stage
:
test
stage
:
test
<<
:
*dedicated-runner
<<
:
*dedicated-runner
...
@@ -390,6 +415,7 @@ db:seed_fu-mysql:
...
@@ -390,6 +415,7 @@ db:seed_fu-mysql:
<<
:
*db-seed_fu
<<
:
*db-seed_fu
<<
:
*use-mysql
<<
:
*use-mysql
# Frontend-related jobs
gitlab:assets:compile:
gitlab:assets:compile:
stage
:
test
stage
:
test
<<
:
*dedicated-runner
<<
:
*dedicated-runner
...
@@ -427,34 +453,6 @@ karma:
...
@@ -427,34 +453,6 @@ karma:
paths
:
paths
:
-
coverage-javascript/
-
coverage-javascript/
.migration-paths
:
&migration-paths
stage
:
test
<<
:
*dedicated-runner
variables
:
SETUP_DB
:
"
false"
only
:
-
master@gitlab-org/gitlab-ce
-
master@gitlab-org/gitlab-ee
-
master@gitlab/gitlabhq
-
master@gitlab/gitlab-ee
script
:
-
git fetch origin v8.14.10
-
git checkout -f FETCH_HEAD
-
bundle install $BUNDLE_INSTALL_FLAGS
-
bundle exec rake db:drop db:create db:schema:load db:seed_fu
-
git checkout $CI_COMMIT_SHA
-
bundle install $BUNDLE_INSTALL_FLAGS
-
. scripts/prepare_build.sh
-
bundle exec rake db:migrate
migration:path-pg:
<<
:
*migration-paths
<<
:
*use-pg
migration:path-mysql:
<<
:
*migration-paths
<<
:
*use-mysql
coverage
:
coverage
:
stage
:
post-test
stage
:
post-test
services
:
[]
services
:
[]
...
...
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