BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
9fce7c8e
Commit
9fce7c8e
authored
May 02, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'docs-mrs-should-run-static-analysis' into 'master'
Docs branches should run static analysis See merge request !11035
parents
98ae016a
ccbf9d89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
22 deletions
+18
-22
.gitlab-ci.yml
.gitlab-ci.yml
+18
-22
No files found.
.gitlab-ci.yml
View file @
9fce7c8e
...
...
@@ -264,11 +264,25 @@ spinach mysql 9 10: *spinach-knapsack-mysql
static-analysis
:
<<
:
*ruby-static-analysis
<<
:
*dedicated-runner
<<
:
*except-docs
stage
:
test
script
:
-
scripts/static-analysis
docs:check:links
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:nanoc-bootstrap-ruby-2.4-alpine"
stage
:
test
<<
:
*dedicated-runner
cache
:
{}
dependencies
:
[]
before_script
:
[]
script
:
-
mv doc/ /nanoc/content/
-
cd /nanoc
# Build HTML from Markdown
-
bundle exec nanoc
# Check the internal links
-
bundle exec nanoc check internal_links
downtime_check
:
<<
:
*rake-exec
except
:
...
...
@@ -300,22 +314,22 @@ ee_compat_check:
.db-migrate-reset
:
&db-migrate-reset
stage
:
test
<<
:
*dedicated-runner
<<
:
*except-docs
script
:
-
bundle exec rake db:migrate:reset
rake pg db:migrate:reset
:
<<
:
*db-migrate-reset
<<
:
*use-pg
<<
:
*except-docs
rake mysql db:migrate:reset
:
<<
:
*db-migrate-reset
<<
:
*use-mysql
<<
:
*except-docs
.db-rollback
:
&db-rollback
stage
:
test
<<
:
*dedicated-runner
<<
:
*except-docs
script
:
-
bundle exec rake db:rollback STEP=120
-
bundle exec rake db:migrate
...
...
@@ -323,16 +337,15 @@ rake mysql db:migrate:reset:
rake pg db:rollback
:
<<
:
*db-rollback
<<
:
*use-pg
<<
:
*except-docs
rake mysql db:rollback
:
<<
:
*db-rollback
<<
:
*use-mysql
<<
:
*except-docs
.db-seed_fu
:
&db-seed_fu
stage
:
test
<<
:
*dedicated-runner
<<
:
*except-docs
variables
:
SIZE
:
"
1"
SETUP_DB
:
"
false"
...
...
@@ -350,12 +363,10 @@ rake mysql db:rollback:
rake pg db:seed_fu
:
<<
:
*db-seed_fu
<<
:
*use-pg
<<
:
*except-docs
rake mysql db:seed_fu
:
<<
:
*db-seed_fu
<<
:
*use-mysql
<<
:
*except-docs
rake gitlab:assets:compile
:
stage
:
test
...
...
@@ -396,21 +407,6 @@ rake karma:
paths
:
-
coverage-javascript/
docs:check:links
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:nanoc-bootstrap-ruby-2.4-alpine"
stage
:
test
<<
:
*dedicated-runner
cache
:
{}
dependencies
:
[]
before_script
:
[]
script
:
-
mv doc/ /nanoc/content/
-
cd /nanoc
# Build HTML from Markdown
-
bundle exec nanoc
# Check the internal links
-
bundle exec nanoc check internal_links
bundler:audit
:
stage
:
test
<<
:
*ruby-static-analysis
...
...
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