You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New(er) xeipuuv/gojsonschema package is trying to fetch id fields,
which in the spec were looking like this:
"id": "https://opencontainers.org/schema/bundle/linux"
Obviously, this results in HTTP 404s, and multiple test failures.
This was fixed by opencontainers/runtime-spec#945
which ended up in runtime-spec v1.0.2.
This essentially means with newer xeipuuv/gojsonschema we are no longer
able to validate against runtime-spec < 1.0.2.
To adopt for a new xeipuuv/gojsonschema, do the following:
1. Add the version check, add a test case for it.
2. Remove some test cases:
- "process is required" as it needed v1.0.0-rc5 version of spec.
- "args is required" as args are no longer required since commit
opencontainers/runtime-spec@deb4d954eafc4fc.
3. Bump the spec version in all test cases.
4. Fix "invalid seccomp action" error as it now also has SCMP_ACT_LOG.
Signed-off-by: Kir Kolyshkin <[email protected]>
error: "linux.seccomp.syscalls.0.action: linux.seccomp.syscalls.0.action must be one of the following: \"SCMP_ACT_KILL\", \"SCMP_ACT_TRAP\", \"SCMP_ACT_ERRNO\", \"SCMP_ACT_TRACE\", \"SCMP_ACT_ALLOW\"",
188
+
error: "linux.seccomp.syscalls.0.action: linux.seccomp.syscalls.0.action must be one of the following: \"SCMP_ACT_KILL\", \"SCMP_ACT_TRAP\", \"SCMP_ACT_ERRNO\", \"SCMP_ACT_TRACE\", \"SCMP_ACT_ALLOW\", \"SCMP_ACT_LOG\"",
0 commit comments