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
c5bca70d
Commit
c5bca70d
authored
May 03, 2017
by
Achilleas Pipinellis
Committed by
Rémy Coutable
May 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move api lint out of static analysis job
parent
593b6469
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
.gitlab-ci.yml
.gitlab-ci.yml
+6
-1
scripts/static-analysis
scripts/static-analysis
+0
-1
No files found.
.gitlab-ci.yml
View file @
c5bca70d
...
@@ -264,11 +264,15 @@ spinach mysql 9 10: *spinach-knapsack-mysql
...
@@ -264,11 +264,15 @@ spinach mysql 9 10: *spinach-knapsack-mysql
static-analysis
:
static-analysis
:
<<
:
*ruby-static-analysis
<<
:
*ruby-static-analysis
<<
:
*dedicated-runner
<<
:
*dedicated-runner
<<
:
*except-docs
stage
:
test
stage
:
test
script
:
script
:
-
scripts/static-analysis
-
scripts/static-analysis
docs:check:links:
# Documentation checks:
# - Check validity of relative links
# - Make sure cURL examples in API docs use the full switches
docs lint
:
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
<<
:
*dedicated-runner
<<
:
*dedicated-runner
...
@@ -276,6 +280,7 @@ docs:check:links:
...
@@ -276,6 +280,7 @@ docs:check:links:
dependencies
:
[]
dependencies
:
[]
before_script
:
[]
before_script
:
[]
script
:
script
:
-
scripts/lint-doc.sh
-
mv doc/ /nanoc/content/
-
mv doc/ /nanoc/content/
-
cd /nanoc
-
cd /nanoc
# Build HTML from Markdown
# Build HTML from Markdown
...
...
scripts/static-analysis
View file @
c5bca70d
...
@@ -9,7 +9,6 @@ tasks = [
...
@@ -9,7 +9,6 @@ tasks = [
%w[bundle exec rake scss_lint]
,
%w[bundle exec rake scss_lint]
,
%w[bundle exec rake brakeman]
,
%w[bundle exec rake brakeman]
,
%w[bundle exec license_finder]
,
%w[bundle exec license_finder]
,
%w[scripts/lint-doc.sh]
,
%w[yarn run eslint]
,
%w[yarn run eslint]
,
%w[bundle exec rubocop --require rubocop-rspec]
%w[bundle exec rubocop --require rubocop-rspec]
]
]
...
...
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