-
Notifications
You must be signed in to change notification settings - Fork 53
Problem: Publications are not needed for Docker plugin #341
Conversation
02bec91
to
42203e7
Compare
@dkliban can you also reproduce this? |
@dkliban also podman pull has issues
|
@ipanova The publisher validation code is coming from pulpcore. I updated the commit message to require pulp/pulpcore#93 but forgot to update the PR description. Please test again with both PRs. |
@ipanova When I tested earlier with docker, I ran into a problem where after the sync finished, not all ImageManifests were associated with the repository version. Then I got a 404 when trying to pull. However, after I cleaned out my DB and synced the repo again, I could not reproduce the problem and docker pull worked fine. I will try to reproduce again though. |
@dkliban i will re-test with pulpcore PR, sorry i did not check the commit message |
42203e7
to
0ec23ea
Compare
Solution: Add 'repository_version' field to DockerDistribution This patch allows users to create DockerDistributions that serve repository versions. A distribution can be created with either a repository or repository version defined. If a repository is defined, the latest version of that repository is always available at the distribution. If a repository version is specified, then that repository version is always available at that distribution. This patch updates an existing test and adds a new one. The two tests assert that a docker or podman pull can be performed when a repository is used in a distribution and when a repository version is used. This patch also fixes the tests to work with docker as the client. closes: #4669 https://pulp.plan.io/issues/4669
0ec23ea
to
202d3cd
Compare
@ipanova I have fixed the problem with the repository_version not working. I've also added a test that checks that this works. I also updated the docs around Docker Distribution creation. I also made sure that the tests work when running on a system that only has docker installed and not podman. Please re-review. |
i re-tested, repo_version works as well as pull of the content with a client. thank you! |
Solution: Add 'repository_version' field to DockerDistribution
This patch allows users to create DockerDistributions that serve repository versions. A distribution can
be created with either a repository or repository version defined. If a repository is defined, the latest
version of that repository is always available at the distribution. If a repository version is specified,
then that repository version is always available at that distribution.
This patch updates an existing test and adds a new one. The two tests assert that a docker or podman pull
can be performed when a repository is used in a distribution and when a repository version is used.
This patch also fixes the tests to work with docker as the client.
closes: #4669
https://pulp.plan.io/issues/4669