Skip to content

Use rule extension in gitlab-ci.yml file

Simon Praetorius requested to merge feature/use-rule-extension into master

Summary

In the repository https://gitlab.dune-project.org/core/ci-config the default set of CI jobs are defined. Therefore also a hidden rule .common is introduced. This rule can be used to extend new job descriptions in the .gitlab-ci.yml file.

Add new jobs as follows:

name-of-my-job:
  extends: .common
  image: registry.dune-project.org/docker/ci/image:tag
  variables:
    VARIABLE_NAME: value
Edited by Simon Praetorius

Merge request reports