The CI service uses GitLab to run the pipelines, with the familiar GitLab YAML configuration. However, some features described in the official documentation will not work as expected.

Below are known issues that differ from the documentation:

  • CI_PIPELINE_SOURCE is always set to trigger, making it impossible to determine if the pipeline is for a PR/MR or a push event.
  • rules: changes will not function due to the above issue, as you never run a branch or a merge request pipeline
  • only / except and rules can restrict jobs to specific branches , but remember that a pipeline is only triggered if it matches the rules defined on your repository's setup page.
  • Trigger jobs must use trigger:forward:pipeline_variables: true, i.e.
    my trigger job:
      trigger:
        include: path/to/child/pipeline.yml
        forward:
          pipeline_variables: true