Gitlab-ci linter documentation issue

Problem to solve

Affected: Gitlab-CI doc Pipeline Architecture or .gitlab-ci.yml linter

Further details

In the article Pipeline Architecture the following yaml samples do not pass .gitlab-ci.yml linter

  • second (Directed Acyclic Graph Pipelines)
  • fourth and fifth (Child / Parent Pipelines)

The construction which does not pass is needs: [something] The linter error is jobs:[name]:needs config can only be a hash or an array

Proposal

fix either doc or linter

Who can address the issue

doc or linter team

Other links/references

Edited by Jason Yavorsky