summaryrefslogtreecommitdiff
path: root/test/asset/shell/minici.yaml
blob: b980161f25c3fa99def46409235c9eaac39e6f5b (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
repo r1:
repo r2:

job generate:
  checkout: null

  shell:
    - echo "content 1" > f1
    - mkdir -p dir
    - echo "content 2" > dir/f2

  artifact file:
    path: f1

  artifact dir:
    path: dir


job combine:
  checkout:
    - repo: r1
      dest: d1
    - repo: r2
      dest: d2

  uses:
    - generate.file
    - generate.dir