Skip to content

libcontainer: expose annotations in hooks#1687

Merged
mrunalp merged 1 commit into
opencontainers:masterfrom
runcom:annotations-hooks
Jan 12, 2018
Merged

libcontainer: expose annotations in hooks#1687
mrunalp merged 1 commit into
opencontainers:masterfrom
runcom:annotations-hooks

Conversation

@runcom

@runcom runcom commented Jan 11, 2018

Copy link
Copy Markdown
Member

Annotations weren't passed to hooks. This patch fixes that by passing
annotations to stdin for hooks.

Fix #1686

/cc @mrunalp @FlorianOtel

Signed-off-by: Antonio Murdaca runcom@redhat.com

@runcom

runcom commented Jan 11, 2018

Copy link
Copy Markdown
Member Author

test failure is #1682

Annotations weren't passed to hooks. This patch fixes that by passing
annotations to stdin for hooks.

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
@runcom runcom force-pushed the annotations-hooks branch from d80c43d to cd1e7ab Compare January 11, 2018 15:54
@runcom

runcom commented Jan 11, 2018

Copy link
Copy Markdown
Member Author

rebased to handle tests failure

@wking

wking commented Jan 11, 2018

Copy link
Copy Markdown
Contributor

I've filed spec backing for this approach in opencontainers/runtime-spec#946.

@cyphar

cyphar commented Jan 12, 2018

Copy link
Copy Markdown
Member

LGTM.

Approved with PullApprove

@runcom

runcom commented Jan 12, 2018

Copy link
Copy Markdown
Member Author

@mrunalp @crosbymichael PTAL

@mrunalp

mrunalp commented Jan 12, 2018

Copy link
Copy Markdown
Contributor

LGTM

Approved with PullApprove

@mrunalp mrunalp merged commit ab4a819 into opencontainers:master Jan 12, 2018
@runcom runcom deleted the annotations-hooks branch January 12, 2018 20:42
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.

Container "Annotations" cannot be read from stdin by (prestart) hook

4 participants