Commit graph

7 commits

Author SHA1 Message Date
Philippe Lafoucrière
de99b7ba90 Refactor except code
We repeat the same code in many places. With the support of multiple
extends, we can clean up several jobs.
2019-07-01 15:04:19 +00:00
Philippe Lafoucrière
ab696cdf28 Fix reports jobs timing out because of cache
Note: This commit relies on
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26801
which brings support to multiple extends.

While `cache: {}` can disable a cache being set globally, it doesn't
work with extends, which will perform a reverse deep merge based on the
keys.

The cache defined in the base `.default-cache` job
won't be disabled in the report jobs.

As a side effect, the `code_quality`, `sast`, and `dependency_scanning`
jobs are running on a larger code base than expected, leading to
timeouts.

fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/11303
fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/60879
fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/12021
2019-06-25 08:57:33 +00:00
Lukas Eipert
b7de40f688
Update to node@12
This updates our build images to use node@12. We are also adding a
sentence to the from-source installation that while we require a minimum
version of node@8, we also recommend node@12. Last but not least, we
change the version of node in the .nvmrc so that developers using nvm
can automatically use node@12 with the project
2019-06-14 10:11:57 +02:00
Kamil Trzciński
d2cc841c55 Add yaml lint
This commit adds CI job that validates all `*.yml`
with `yamllint`.

This commit fixes all offenses present in repository.
2019-06-05 16:31:35 +00:00
Stan Hu
a50951d73a Upgrade Ruby version to 2.6.3
Ruby 2.6 offers better performance and memory usage:
https://www.rubyguides.com/2018/11/ruby-2-6-new-features/

Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/57323
2019-05-08 06:21:14 -07:00
Rémy Coutable
5fd22e5412
Retry twice the system, API and unknown failures
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-17 17:32:32 +02:00
Kamil Trzciński
931d84ac00 Refactor .gitlab-ci.yml 2019-04-15 14:16:58 +02:00