summaryrefslogtreecommitdiff
path: root/test/asset/run/many_repos.yaml
blob: 0839ba650a92879c4af800af8f93ff37d46df04f (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
repo r1:
repo r2:
repo r3:
repo r4:
repo r5:

job first:
  checkout:
    - repo: r1
      dest: d1
    - repo: r4
      dest: d4b
    - repo: r3
      dest: d3
    - repo: r2
      dest: d2
    - repo: r4
      dest: d4

  shell:
    - touch some_file

  artifact out:
    path: some_file

job first_manual_revision:
  checkout:
    - repo: r1
      dest: d1
    - repo: r1
      dest: d1b
      revision: tag1
    - repo: r2
      dest: d2b
      revision: tag1
    - repo: r4
      dest: d4b
    - repo: r3
      dest: d3
      revision: tag1
    - repo: r2
      dest: d2
    - repo: r4
      dest: d4

  shell:
    - touch some_file

  artifact out:
    path: some_file


job second:
  checkout:
    - repo: r2
      dest: d2
    - repo: r5
      dest: d5
    - repo: r3
      dest: d3

  shell:
    - touch second_file

  artifact out:
    path: second_file


job dependent:
  uses:
    - first.out

  shell:
    - mv some_file some_other_file

  artifact out:
    path: some_other_file


job transitive:
  uses:
    - dependent.out

  artifact out:
    path: some_other_file


job combined:
  uses:
    - first.out
    - second.out

  artifact out:
    path: second_file


job combined_transitive:
  uses:
    - combined.out
    - transitive.out