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
Jérome Perrin
gitlab-ce
Commits
336d79fb
Commit
336d79fb
authored
Apr 26, 2017
by
Rémy Coutable
Committed by
Robert Speicher
May 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Group static-analysis jobs into a single job
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
0789d7aa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
32 deletions
+15
-32
.gitlab-ci.yml
.gitlab-ci.yml
+15
-31
scripts/lint-doc.sh
scripts/lint-doc.sh
+0
-1
No files found.
.gitlab-ci.yml
View file @
336d79fb
...
@@ -253,38 +253,40 @@ spinach mysql 9 10: *spinach-knapsack-mysql
...
@@ -253,38 +253,40 @@ spinach mysql 9 10: *spinach-knapsack-mysql
SETUP_DB
:
"
false"
SETUP_DB
:
"
false"
USE_BUNDLE_INSTALL
:
"
true"
USE_BUNDLE_INSTALL
:
"
true"
.
exec
:
&
exec
.
rake-exec
:
&rake-
exec
<<
:
*ruby-static-analysis
<<
:
*ruby-static-analysis
<<
:
*dedicated-runner
<<
:
*dedicated-runner
<<
:
*except-docs
<<
:
*except-docs
stage
:
test
stage
:
test
script
:
script
:
-
bundle exec $CI_JOB_NAME
-
bundle exec
rake
$CI_JOB_NAME
rubocop
:
static-analysis
:
<<
:
*ruby-static-analysis
<<
:
*ruby-static-analysis
<<
:
*dedicated-runner
<<
:
*dedicated-runner
<<
:
*except-docs
<<
:
*except-docs
stage
:
test
stage
:
test
script
:
script
:
-
bundle exec rake config_lint
-
bundle exec rake flay
-
bundle exec rake haml_lint
-
bundle exec rake scss_lint
-
bundle exec rake brakeman
-
bundle exec license_finder
-
scripts/lint-doc.sh
-
yarn run eslint
-
bundle exec "rubocop --require rubocop-rspec"
-
bundle exec "rubocop --require rubocop-rspec"
rake haml_lint
:
*exec
downtime_check
:
rake scss_lint
:
*exec
<<
:
*rake-exec
rake config_lint
:
*exec
rake brakeman
:
*exec
rake flay
:
*exec
license_finder
:
*exec
rake downtime_check
:
<<
:
*exec
except
:
except
:
-
master
-
master
-
tags
-
tags
-
/^[\d-]+-stable(-ee)?$/
-
/^[\d-]+-stable(-ee)?$/
-
/^docs\/*/
-
/^docs\/*/
rake
ee_compat_check
:
ee_compat_check
:
<<
:
*exec
<<
:
*
rake-
exec
only
:
only
:
-
branches@gitlab-org/gitlab-ce
-
branches@gitlab-org/gitlab-ce
except
:
except
:
...
@@ -402,16 +404,6 @@ rake karma:
...
@@ -402,16 +404,6 @@ rake karma:
paths
:
paths
:
-
coverage-javascript/
-
coverage-javascript/
docs:check:apilint:
image
:
"
phusion/baseimage"
stage
:
test
<<
:
*dedicated-runner
cache
:
{}
dependencies
:
[]
before_script
:
[]
script
:
-
scripts/lint-doc.sh
docs:check:links:
docs:check:links:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:nanoc-bootstrap-ruby-2.4-alpine"
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:nanoc-bootstrap-ruby-2.4-alpine"
stage
:
test
stage
:
test
...
@@ -485,14 +477,6 @@ coverage:
...
@@ -485,14 +477,6 @@ coverage:
-
coverage/index.html
-
coverage/index.html
-
coverage/assets/
-
coverage/assets/
lint:javascript:
<<
:
*dedicated-runner
<<
:
*except-docs
stage
:
test
before_script
:
[]
script
:
-
yarn run eslint
lint:javascript:report:
lint:javascript:report:
<<
:
*dedicated-runner
<<
:
*dedicated-runner
<<
:
*except-docs
<<
:
*except-docs
...
...
scripts/lint-doc.sh
View file @
336d79fb
...
@@ -21,4 +21,3 @@ fi
...
@@ -21,4 +21,3 @@ fi
echo
"✔ Linting passed"
echo
"✔ Linting passed"
exit
0
exit
0
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