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

Implement a lookaside storage for signatures of images in Docker registries #170

Merged
merged 2 commits into from
Sep 12, 2016

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Aug 17, 2016

This vendors in unmerged containers/image#52 and updates the API usage. See the documentation in that PR for more details.

@mtrmac
Copy link
Collaborator Author

mtrmac commented Aug 17, 2016

TODO? This would very much benefit from an integration test.

@mtrmac
Copy link
Collaborator Author

mtrmac commented Aug 25, 2016

Rebased, now depends only on containers/image#52 . Still would benefit from an integration test.

@mtrmac mtrmac force-pushed the docker-lookaside branch 4 times, most recently from b021b71 to 2faf928 Compare August 30, 2016 20:41
@mtrmac mtrmac mentioned this pull request Aug 30, 2016
@mtrmac
Copy link
Collaborator Author

mtrmac commented Aug 30, 2016

Tests now exist (in #177), but depend on pushing to tags in Docker registries. But with a hackish way to do that, they pass; so this PR + the containers/image implementation is ready for review and merging.

@mtrmac
Copy link
Collaborator Author

mtrmac commented Sep 10, 2016

Updated per projectatomic/atomic#594 , adds --registries.d to allow integration testing now that $ATOMIC_CONF is not used.

Integration tests are still in #177 and don’t work against master, (they need push to Docker tags), but work well enough to demonstrate the lookaside works.

@runcom low-priority ping

@runcom
Copy link
Member

runcom commented Sep 10, 2016

@mtrmac 91ebebc LGTM (I LGTM'ed the vendor in containers/image also)

This is added pretty much only for integration tests right now;
though, it might be useful also for non-root operation.

Also makes a tiny cleanup of contextFromGlobalOptions, removing a
variable.
@mtrmac mtrmac merged commit d6be447 into containers:master Sep 12, 2016
@mtrmac mtrmac deleted the docker-lookaside branch September 12, 2016 19:39
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants