Commit graph

10 commits

Author SHA1 Message Date
Kamil Trzciński
1c36766f93 Update style of yaml_processor_spec.rb 2018-02-07 12:30:08 +00:00
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
Shinya Maeda
c36d7842da Aling shared_exmaples to "same behavior between KubernetesService and Platform::Kubernetes" 2017-11-28 20:47:59 +09:00
Shinya Maeda
1d7e3ef1a5 Duplicate spec for Platform::Kubernetes with kubernetes_project 2017-11-28 20:47:59 +09:00
Grzegorz Bizon
14966419e3 Fix closing braces in YAML processor specs 2017-09-19 10:35:18 +02:00
Grzegorz Bizon
f52c61f846 Do not initialize YAML processor with project full path 2017-09-18 14:35:31 +02:00
Grzegorz Bizon
d79ad28fcb Do not pass project path from YAML processor
Use project full path that can be received from a pipeline object
2017-09-18 14:29:43 +02:00
Grzegorz Bizon
a7a7e2d8f7 Fix Rubocop offenses in YAML processor classes 2017-09-18 13:57:14 +02:00
Grzegorz Bizon
10a486b366 Remove YAML processor refactoring stubs and fix specs 2017-09-18 13:57:14 +02:00
Maxim Rydkin
c45ace8972
move lib/ci/gitlab_ci_yaml_processor.rb into lib/gitlab/ci/yaml_processor.rb 2017-09-12 22:32:02 +03:00