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

dag_same_stage_with_fail_and_retry_1.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: b9b8eb2f532a58f78ced8162c2f6c610e09f6c12 (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
config:
  build:
    script: exit $(($RANDOM % 2))

  test:
    script: exit 0
    needs: [build]

  deploy:
    script: exit 0
    needs: [test]

init:
  expect:
    pipeline: pending
    stages:
      test: pending
    jobs:
      build: pending
      test: created
      deploy: created

transitions:
  - event: drop
    jobs: [build]
    expect:
      pipeline: failed
      stages:
        test: failed
      jobs:
        build: failed
        test: skipped
        deploy: skipped

  - event: retry
    jobs: [build]
    expect:
      pipeline: running
      stages:
        test: pending
      jobs:
        build: pending
        test: created
        deploy: created

  - event: success
    jobs: [build]
    expect:
      pipeline: running
      stages:
        test: running
      jobs:
        build: success
        test: pending
        deploy: created