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

c8d/push: Support pushing all tags #46485

Merged
merged 2 commits into from
Sep 15, 2023
Merged

Conversation

vvoland
Copy link
Contributor

@vvoland vvoland commented Sep 15, 2023

c8d/push: Support pushing all tags

Implement missing feature that pushes all tags from the provided local
repository.

c8d/push: Add missing message about repository

(a bit unrelated but I decided to include it here since it's only one line and I'm already making changes here)

Add "The push referers to repository X" message which is present in the
push output when using the graphdrivers.

- How to verify it
c8d integration tests CI

-DONE 277 tests, 5 skipped, 54 failures in 447.508s
+DONE 277 tests, 5 skipped, 47 failures in 501.680s
$ make TEST_FILTER='TestPushMultipleTags'  TEST_IGNORE_CGROUP_CHECK=1 DOCKERCLI_INTEGRATION_VERSION=v24.0.5  DOCKER_GRAPHDRIVER=overlayfs TEST_INTEGRATION_USE_SNAPSHOTTER=1 test-integration
...
=== RUN   TestDockerRegistrySuite/TestPushMultipleTags
--- PASS: TestDockerRegistrySuite (0.27s)
    --- PASS: TestDockerRegistrySuite/TestPushMultipleTags (0.27s)

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@vvoland vvoland added status/2-code-review area/images kind/bugfix PR's that fix bugs containerd-integration Issues and PRs related to containerd integration labels Sep 15, 2023
@vvoland vvoland added this to the 25.0.0 milestone Sep 15, 2023
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM, but left two tiny comments; let me know if you want to update those, otherwise feel free to merge

daemon/containerd/image_push.go Outdated Show resolved Hide resolved
daemon/containerd/image_push.go Outdated Show resolved Hide resolved
Implement missing feature that pushes all tags from the provided local
repository.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Add "The push referers to repository X" message which is present in the
push output when using the graphdrivers.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@vvoland vvoland merged commit a33043f into moby:master Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/images containerd-integration Issues and PRs related to containerd integration kind/bugfix PR's that fix bugs status/2-code-review
Projects
Development

Successfully merging this pull request may close these issues.

3 participants