Commit graph

6 commits

Author SHA1 Message Date
Nick Thomas
35f4a00f37 Introduce cache policies for CI jobs 2017-07-05 15:39:26 +01:00
Lin Jen-Shin
0fe0b044e4 No need to set cache:key if no path was specified
Feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9666/diffs#note_24607518
2017-03-03 22:21:46 +08:00
Lin Jen-Shin
6e032d7ba0 Set default cache key for jobs, detail:
* Replace Unspecified with a field so that it's less surprising
* Define inspect for Node for easy debugging (and avoid building
  a very huge string potentially from built-in inspect)
* Set default cache key to 'default'
2017-03-02 22:12:15 +08:00
Douwe Maan
b7d8df503c Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
Grzegorz Bizon
a761d29366 Change name of method for setting CI config entries 2016-11-14 10:51:56 +01:00
Grzegorz Bizon
c701468390 Improve naming convention in ci configuration module 2016-11-14 10:31:45 +01:00
Renamed from lib/gitlab/ci/config/node/cache.rb (Browse further)