-
Notifications
You must be signed in to change notification settings - Fork 71
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
DockerHub as a src registry #9
Comments
First, thank you so much for looking into this area. I agree with your 3 paths you outlined. The main reason I chose to use You are right that the go-containerregistry doesn't really support the features we need (esp. regarding manifest lists, as I stated in #7). I think (1) will add unnecessary complexity (we would now need 2 tools...?). IMHO (2) is the best choice for now. At some point down the road, I'm sure we would move away from gcloud as well and just use pure REST calls directly as it is cleaner (no need to worry about spawning another process and hook up the stdout pipes to it and such). The other issue with gcloud I noticed is that it prints informational messages to stderr, which is a little bit confusing. Going with (3) would be even better, but I agree that it would be time consuming. Although, to be fair, with #7 we still need to use REST calls anyway (or at least move to using |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
After doing some research about how time consuming would be to implement DockerHub as a src registry I think there are three paths we can take.
gcloud
CLI tool for work related registries, so we could create a simple, similar CLI tool with the same API related to commands we need (I think it's the quickest way)gcloud
tool and DockerHub would send direct requests to its REST API) [quite time consuming].gcloud
instead of just calling API was due of that)I looked into: https://github.com/google/go-containerregistry which would be a nice tool to use, but there are no features related to registry like listing of repositories etc., so there would be need to implement them.
It would be good to talk about it, because maybe there are other ways I couldn't see. Irrespective of decision I would love to implement the changes. :-)
Bart
The text was updated successfully, but these errors were encountered: