Skip to content

Commit

Permalink
schema/test/config/good/minimal: Drop 'process'
Browse files Browse the repository at this point in the history
It's optional since c41ea83 (config: Make process optional,
2017-02-27, opencontainers#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]: opencontainers#805 (comment)

Signed-off-by: W. Trevor King <[email protected]>
  • Loading branch information
wking committed May 11, 2017
1 parent 1259a08 commit 90423a0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
20 changes: 20 additions & 0 deletions schema/test/config/good/minimal-for-start.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"ociVersion": "1.0.0",
"platform": {
"os": "linux",
"arch": "amd64"
},
"root": {
"path": "rootfs"
},
"process": {
"cwd": "/",
"args": [
"sh"
],
"user": {
"uid": 0,
"gid": 0
}
}
}
8 changes: 0 additions & 8 deletions schema/test/config/good/minimal.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,5 @@
},
"root": {
"path": "rootfs"
},
"process": {
"cwd": "/",
"args": ["sh"],
"user": {
"uid": 0,
"gid": 0
}
}
}

0 comments on commit 90423a0

Please sign in to comment.