Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#6681 closed change (fixed)

[Gitlab CI] Add linting for a .gitlab-ci.yml

Reported by: tlucas Assignee:
Priority: P3 Milestone:
Module: Automation Keywords: gitlab, ci
Cc: sebastian, kzar, matze Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by tlucas)


In #6651 we started discussing how we would implement CI for adblockpluschrome. Currently, we'll most likely stick to gitlab.

In order to get this going, we want to be able to lint the configuration file before invoking a pipeline.

What to change

  • Add a command lint-gitlab-ci to, which should look for a .gitlab-ci.yml in the tree and validate it as described here
  • Adjust the to mention PyYAML as a dependency, if one wants to lint a .gitlab-ci.yml file.

Change History (4)

comment:1 Changed 2 years ago by tlucas

  • Description modified (diff)
  • Priority changed from Unknown to P3
  • Ready set

comment:2 Changed 2 years ago by abpbot

A commit referencing this issue has landed:
Issue 6681 - Add linting for .gitlab-ci.yml

comment:3 Changed 2 years ago by tlucas

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 2 years ago by tlucas

  • Review URL(s) modified (diff)
Note: See TracTickets for help on using tickets.