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

dag_same_stage_with_subsequent_manual_jobs.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: 03ffda1caabe7bcbfb4e910c275358bb7233d22e (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
55
56
57
58
59
60
61
62
63
64
65
config:
  job1:
    script: exit 0
    when: manual

  job2:
    script: exit 0
    needs: [job1]

  job3:
    script: exit 0
    when: manual
    needs: [job2]

  job4:
    script: exit 0
    needs: [job3]

init:
  expect:
    pipeline: skipped
    stages:
      test: skipped
    jobs:
      job1: manual
      job2: skipped
      job3: skipped
      job4: skipped

transitions:
  - event: play
    jobs: [job1]
    expect:
      pipeline: pending
      stages:
        test: pending
      jobs:
        job1: pending
        job2: created
        job3: created
        job4: created

  - event: success
    jobs: [job1]
    expect:
      pipeline: running
      stages:
        test: running
      jobs:
        job1: success
        job2: pending
        job3: created
        job4: created

  - event: success
    jobs: [job2]
    expect:
      pipeline: success
      stages:
        test: success
      jobs:
        job1: success
        job2: success
        job3: manual
        job4: skipped