Skip to content

WIP: Code generation of Gitlab CI config

Ryunosuke O'Neil requested to merge roneil/refactoring-tests into master

Generates a YAML file according to a configuration in scripts/ci/test_config.py. A list of possible values is assigned to variables, and jobs are generated from all possible combinations (it's possible to exclude certain combinations of variables). In each job, variables are passed to a specified shell script as environment variables. Extra yaml keys can be inserted in job-definitions.yml.

To-do list:

  • Need to rebase onto master + squash
  • Cleanup generation code (e.g. use a YAML emitter rather than printing to stdout)
  • Comment / documentation of code
  • Configure the generator such that the generated job config matches the currently defined jobs
  • manual pipelines?
Edited by Ryunosuke O'Neil

Merge request reports