Invalid error in gitlab built in ci/lint for .gitlab-ci.yml
Summary
Invalid error in gitlab built in ci/lint for .gitlab-ci.yml
I was banging my head against the wall until i used https://nodeca.github.io/js-yaml/
Steps to reproduce
.gitlab-ci.yml
of the error
Example .abc: &job_definition
- echo "test"
job1:
<<: *job_definition
/ci/lint
produces odd error
Using Status: syntax is incorrect
Error: jobs:job1 config contains unknown keys: <<
https://nodeca.github.io/js-yaml
Usingcannot merge mappings; the provided source object is unacceptable at line 7, column 1:
^
What is the current bug behavior?
Invalid error message
What is the expected correct behavior?
More accurate message like js-yaml provides