Commit graph

3 commits

Author SHA1 Message Date
Dylan Griffith
66d41d2c22 Handle all YAML parser exceptions in .gitlab-ci.yml (fixes #41209)
- Move the exception handling as close to the source as possible to
avoid leaking Psych ahstraction
- Also remove unnecessary rescue all statement from LintsController.
This should not be necessary anymore since any YAML errors should all be
caught by the #validation_message method.
2018-02-07 10:09:01 +11:00
Grzegorz Bizon
5ef104df59 Improve Ci config loader by changing method signature 2016-06-07 12:53:46 +02:00
Grzegorz Bizon
23030439c2 Rename class that loads CI configuration to Loader 2016-06-06 08:20:55 +02:00
Renamed from spec/lib/gitlab/ci/config/parser_spec.rb (Browse further)