Adds ci config linting resolver
What does this MR do?
Adds a mutation config_lint
that lints the ci_config file and returns a structured object:
{
stages: [
{
name: "test",
groups: [
{
name: "jest",
size: 2,
jobs: [
{ name: "jest 1/2" },
{ name: "jest 2/2" },
],
},
{
name: "rspec",
size: 1,
jobs: [
{ name: "rspec" }
]
},
]
},
{
name: "post-test",
groups: [
{
name: "jest-coverage"
size: 1,
jobs: [
{ name: "jest-coverage", needs: ["jest"] }
]
},
{ ... }
]
},
]
}
This mutation was created with the intention of letting the user visualize the graph when they are linting.
Does this MR meet the acceptance criteria?
Conformity
Edited by Laura Montemayor