Welcome to mirror list, hosted at ThFree Co, Russian Federation.

include.yml « positive_tests « yaml_tests « ci « schema « editor « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c00ab0d464a76cd5e13f6a425dac7f7fd8768c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
stages:
  - prepare

# valid include:rules
include:
  - local: builds.yml
    rules:
      - if: '$INCLUDE_BUILDS == "true"'
        when: always

# valid trigger:include
trigger:include accepts project and file properties:
  stage: prepare
  script:
    - echo 'creating pipeline...'
  trigger:
    include:
      - project: 'my-group/my-pipeline-library'
        file: '.gitlab-ci.yml'

trigger:include accepts optional ref property:
  stage: prepare
  script:
    - echo 'creating pipeline...'
  trigger:
    include:
      - project: 'my-group/my-pipeline-library'
        file: '.gitlab-ci.yml'
        ref: 'main'