Skip to content

Commit 90423a0

Browse files
committed
schema/test/config/good/minimal: Drop 'process'
It's optional since c41ea83 (config: Make process optional, 2017-02-27, #701) which landed yesterday. Mrunal wanted to continue testing a config which has enough for a 'start' invocation [1], so I've kept the old JSON as minimal-for-start.json (washing it through 'make -C schema fmt' to adjust the args indenting). [1]: #805 (comment) Signed-off-by: W. Trevor King <[email protected]>
1 parent 1259a08 commit 90423a0

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"ociVersion": "1.0.0",
3+
"platform": {
4+
"os": "linux",
5+
"arch": "amd64"
6+
},
7+
"root": {
8+
"path": "rootfs"
9+
},
10+
"process": {
11+
"cwd": "/",
12+
"args": [
13+
"sh"
14+
],
15+
"user": {
16+
"uid": 0,
17+
"gid": 0
18+
}
19+
}
20+
}

schema/test/config/good/minimal.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,5 @@
66
},
77
"root": {
88
"path": "rootfs"
9-
},
10-
"process": {
11-
"cwd": "/",
12-
"args": ["sh"],
13-
"user": {
14-
"uid": 0,
15-
"gid": 0
16-
}
179
}
1810
}

0 commit comments

Comments
 (0)