Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artifacts must be present in a single directory #55

Closed
wants to merge 1 commit into from

Conversation

liangchenye
Copy link
Member

According to https://github.com/opencontainers/runtime-spec/blob/master/bundle.md,

While these artifacts MUST all be present in a single directory on the local filesystem

Check if the rootfs and config file were in the same directory.

Signed-off-by: liang chenye [email protected]

@liangchenye
Copy link
Member Author

The second commit verifies if os and arch combination is valid.

@wking
Copy link
Contributor

wking commented May 3, 2016

On Tue, May 03, 2016 at 01:11:14AM -0700, 梁辰晔 (Liang Chenye) wrote:

While these artifacts MUST all be present in a single directory on
the local filesystem…

It looks like that requirement landed in
opencontainers/runtime-spec@7232e4b1 (specs: introduce the concept of
a runtime.json, 2015-07-30, opencontainers/runtime-spec#88), although
I don't see a need for it. Can I check for (and maybe file) pushback
on that point in runtime-spec before df60d95 lands?

de58be0 looks good to me, although of the non-Linux OSes, only
Solaris has platform-specific configuaration in flight
(opencontainers/runtime-spec#411).

@liangchenye
Copy link
Member Author

@wking sure, if 'rootfs' does not have to be in the same directory with config.json, df60d95 is not necessary.
What I'm doing is just to make sure the ocitools follows spec strictly, all the MUST, Required fields should be verified.

@liangchenye
Copy link
Member Author

move the second commit to another PR https://github.com/opencontainers/ocitools/pull/57/files

@wking
Copy link
Contributor

wking commented May 4, 2016 via email

@liangchenye liangchenye mentioned this pull request May 13, 2016
76 tasks
@liangchenye
Copy link
Member Author

Close as invalid according to spec changes: opencontainers/runtime-spec#394

@wking
Copy link
Contributor

wking commented Jan 19, 2017 via email

@Mashimiao
Copy link

I think we need to re-open and merge this PR.

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants