forked from leopardslab/dunner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dunner.yaml
47 lines (47 loc) · 927 Bytes
/
.dunner.yaml
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
envs:
- VAR1=VAL1
- GLB=VARBL
mounts:
- ./pkg:/tmp:r
tasks:
build:
envs:
- VAR1=VAL11
- VAR2=VAL2
mounts:
- ./pkg/dunner:/tmp:r
steps:
- image: node:10.15.0
commands:
- ["node", "--version"]
user: root
- image: alpine
dir: pkg
commands:
- ["apk", "update"]
- ["pwd"]
user: root
- image: alpine
commands:
- ["ls", "/tmp"]
- image: alpine
commands:
- ["printenv"]
envs:
- VAR2=VAL22
- PERM=775
- ID=dunner
- DIR=`$HOME`
- follow: 'show'
args:
- '/tmp'
show:
steps:
- image: alpine
commands:
- ["printenv"]
- ["ls", "$1"]
mounts:
- '~/Downloads:/root/down'
- ~/Pictures:/root/pics:wr
- "~/Documents:/root/docs:r"