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

dag_test_manual_same_and_different_stage_needs.yml « test_cases « pipeline_processing « ci « services « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 115258c656ea1980f3f54f4dd0ec11ec708baf62 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
config:
  stages: [first, second, third]

  job_a:
    when: manual
    stage: first
    script:
    - echo

  job_b:
    when: manual
    stage: second
    script:
    - echo

  job_c:
    needs: ["job_b"]
    stage: third
    script:
    - echo

  job_d:
    needs: ["job_a"]
    stage: third
    script:
    - echo

init:
  expect:
    pipeline: skipped
    stages:
      first: skipped
      second: skipped
      third: skipped
    jobs:
      job_a: manual
      job_b: manual
      job_c: skipped
      job_d: skipped

transitions:
  - event: play
    jobs: [job_b]
    expect:
      pipeline: pending
      stages:
        first: skipped
        second: pending
        third: pending
      jobs:
        job_a: manual
        job_b: pending
        job_c: created
        job_d: skipped