Skip to content

validation/util/container: Use --bundle (and stop requiring BundleDir)#551

Merged
zhouhao3 merged 1 commit intoopencontainers:masterfrom
wking:create-bundle-argument
Jan 22, 2018
Merged

validation/util/container: Use --bundle (and stop requiring BundleDir)#551
zhouhao3 merged 1 commit intoopencontainers:masterfrom
wking:create-bundle-argument

Conversation

@wking
Copy link
Contributor

@wking wking commented Jan 11, 2018

Address a previous TODO. And now that we are using --bundle, we no longer need to set cmd.Dir. The TODO mentions a lack of runc support, but runc supports --bundle since opencontainers/runc@3fe7d7f3 (opencontainers/runc#827).

@liangchenye
Copy link
Member

'signed-off-by' required @wking

@wking wking force-pushed the create-bundle-argument branch from cf5cd7f to 196855e Compare January 11, 2018 15:21
@wking
Copy link
Contributor Author

wking commented Jan 11, 2018 via email

@zhouhao3
Copy link

@wking I think you should resubmit the commit.

@wking
Copy link
Contributor Author

wking commented Jan 18, 2018

Closing and reopening to kick Travis.

@wking wking closed this Jan 18, 2018
@wking wking reopened this Jan 18, 2018
r.RuntimeCommand, err = exec.LookPath(runtimeCommand)
if err != nil {
return Runtime{}, err
return Runtime{}, clierror.NewError(clierror.Executable, err, "1.0.0")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops,I didn't mean to include clierror stuff in this PR.

Address a previous TODO.  And now that we are using --bundle, we no
longer need to set cmd.Dir.  The TODO mentions a lack of runc support,
but runc supports --bundle since opencontainers/runc@3fe7d7f3 (Add
create and start command for container lifecycle, 2016-05-13,
opencontainers/runc#827).

Signed-off-by: W. Trevor King <wking@tremily.us>
@wking wking force-pushed the create-bundle-argument branch from 196855e to b5a43d1 Compare January 18, 2018 15:36
@liangchenye
Copy link
Member

liangchenye commented Jan 22, 2018

LGTM

Approved with PullApprove

@liangchenye liangchenye mentioned this pull request Jan 22, 2018
@zhouhao3
Copy link

zhouhao3 commented Jan 22, 2018

LGTM

Approved with PullApprove

@zhouhao3 zhouhao3 merged commit 8e52e10 into opencontainers:master Jan 22, 2018
@wking wking deleted the create-bundle-argument branch January 26, 2018 00:59
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