Commit graph

18 commits

Author SHA1 Message Date
Rémy Coutable
2f0d2ab55b
Run lint:all tasks in forks
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-14 17:34:34 +01:00
Rémy Coutable
e4990b66df Combine all rake tasks in the static-analysis job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-14 15:18:59 +01:00
Rémy Coutable
33ed96229b
Don't run scripts/lint-changelog-yaml in scripts/static-analysis but only in the 'docs lint' job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-01-30 11:08:32 +01:00
Lin Jen-Shin
a2618310ae Use Process::Status rather than an integer
However keep backward compatibility
2018-01-26 19:42:48 +08:00
Lin Jen-Shin
df2c47b9ff Don't print stdout in case we're just printing warnings
Otherwise it could be confusing
2018-01-26 19:42:48 +08:00
Lin Jen-Shin
54ca8d0d6c Fail static-analysis if there's output to stderr
TODO: fix offenders
2018-01-26 19:42:48 +08:00
Jacob Vosmaer
6d6f7536bd Look for rugged with static analysis 2018-01-25 14:05:11 +01:00
Lin Jen-Shin
8139895b43 Use Gitlab::Utils::Override over defined?(super) 2017-12-26 17:18:10 +08:00
Dmitriy Zaporozhets
ef82cbef90 Remove security checks from static analysis and add sast job 2017-12-23 14:18:39 +00:00
Rémy Coutable
d048c8fe43
Use the --parallel Rubocop flag in the static-analysis and improve the job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-11-03 17:00:49 +01:00
Sean McGivern
3fba557d5c Add static analysis job to find invalid YAML in changelogs
When a changelog has invalid YAML (typically, there is an unquoted @ at the
start of the author field), then the entry will be discarded. This script checks
all unreleased changelogs for validity, and runs as part of the static-analysis
step, so the pipeline will fail if this happens in future.
2017-09-27 09:52:03 +01:00
Bob Van Landuyt
bde39322f1 Add a linter for PO files 2017-08-31 14:10:04 +02:00
Markus Koller
b2178c1d85 Upgrade mail and nokogiri gems due to security issues 2017-08-31 00:39:21 +00:00
Lin Jen-Shin (godfat)
913aca1db9 Make sure we didn't commit conflicts 2017-08-01 12:06:56 +00:00
winh
3268b84f89 Ignore CVE-2017-5029 in Nokogiri 2017-06-12 23:12:07 +02:00
Rémy Coutable
221dccab97
Include the bundler:audit job into the static-analysis job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-04 16:34:52 +02:00
Achilleas Pipinellis
c5bca70d55 Move api lint out of static analysis job 2017-05-03 16:40:43 +00:00
Rémy Coutable
9b3f728cca Add scripts/static-analysis to run all the static analysers in one go
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-01 11:04:13 -04:00