Opened 2 years ago

Last modified 2 years ago

#6681 closed change

[Gitlab CI] Add linting for a .gitlab-ci.yml — at Version 1

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):

https://codereview.adblockplus.org/29825579/

Description (last modified by tlucas)

Background

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 build.py, which should look for a .gitlab-ci.yml in the tree and validate it as described here
  • Adjust the README.md to mention PyYAML as a dependency, if one wants to lint a .gitlab-ci.yml file.

Change History (1)

comment:1 Changed 2 years ago by tlucas

  • Description modified (diff)
  • Priority changed from Unknown to P3
  • Ready set
Note: See TracTickets for help on using tickets.