Commit graph

14 commits

Author SHA1 Message Date
Mayra Cabrera
80f9aff34b Make ci/lint page context aware:
- Create ci/lints controller inside project/
- Move js pages to be inside projects/
- Copy view ci/lint view to be inside project folder
- Remove ci/lint view and js files

Closes #43603
2018-03-26 17:03:11 -06:00
Grzegorz Bizon
b40d5d0fbb Fix static analysis and tests related to YAML processing 2018-03-22 15:22:50 +01:00
Grzegorz Bizon
000f9d01f7 Decouple YAML processor from pipeline objects 2018-03-22 14:04:53 +01:00
Grzegorz Bizon
db3d031969 Evaluate only/except policies outside of YAML processor 2018-03-21 14:40:27 +01:00
Grzegorz Bizon
3145cbaaa0 Decouple pipeline stage seeds from building environments 2018-03-21 10:01:37 +01:00
Grzegorz Bizon
d16bb44726 Start building abstraction over pipeline seeds 2018-03-21 09:03:03 +01: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
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
Grzegorz Bizon
241197c29a Extract job refs policy specs into separate class 2017-09-18 13:57:14 +02:00
Grzegorz Bizon
dd784b1518 Use CI/CD job policy specification in YAML processor 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