Commit graph

11 commits

Author SHA1 Message Date
Grzegorz Bizon
66dd209661 Ignore job by default if it is a manual action
This makes it possible to maintain backwards compatibility with configs
created when manual actions were non-blocking.

From now manual actions are blocking if configured with `allow_failure:
false`, otherwise manual actions are optional, and their status is
ignored.
2017-03-06 12:01:33 +01:00
Grzegorz Bizon
79ea01bfaf Refactor code related to pipeline blocking actions 2017-03-06 10:04:04 +01:00
Kamil Trzcinski
be039d22d7 Make manual actions blocking 2017-03-06 10:04:04 +01:00
Douwe Maan
b7d8df503c Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
Leandro Camargo
d0afc500e3 Change expected coverage structure for CI configuration YAML file
Instead of using:
`coverage: /\(\d+.\d+%\) covered/`

This structure must be used now:
```
coverage:
  output_filter: /\(\d+.\d+%\) covered/`
```

The surrounding '/' is optional.
2017-01-25 01:07:43 -02:00
Leandro Camargo
646b9c54d0 Comply to requests made in the review and adjust to the Entry/Node changes
This commit:
* Turns `coverage_regex` into `coverage` entry in yml file
* Fixes smaller requests from code reviewers for the previous commit
* This commit is temporary (will be squashed afterwards)

This commit does not (further commits will do though):
* Add global `coverage` entry handling in yml file as suggested by Grzegorz
* Add specs
* Create changelog
* Create docs
2017-01-25 01:07:43 -02:00
Leandro Camargo
6a3d29c73d Add ability to define a coverage regex in the .gitlab-ci.yml
* Instead of using the proposed `coverage` key, this expects `coverage_regex`
2017-01-25 01:07:43 -02:00
Grzegorz Bizon
c048d5d2d9 Fix entry lookup in CI config inheritance rules 2016-11-22 09:09:38 +01:00
Grzegorz Bizon
65724301e6 Make CI job script a required configuration entry 2016-11-18 14:14:41 +01: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/job.rb (Browse further)