-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
add docker-credential-helper to gitpot-cli #8228
Conversation
@tbutter: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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. |
Thanks @tbutter, that makes a ton of sense to me. Re integration: we have a process in |
Thanks for contributing, @tbutter! 🧡 You'll also need to sign a Contributor License Agreement (CLA)[1] once before merging your first contribution. Looping in @meysholdt to reach out about the CLA. 🏓 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@csweichel Thanks. I could not figure out a way to test the supervisor code locally/in gitpod. Are there any docs on how to do it? |
d271de3
to
27bfa44
Compare
27bfa44
to
db7c1f1
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is there anything I can do to support the CLA process? |
@tbutter Sorry this is taking longer than usual but please bare with us as most of the company is currently at our offsite, we'll get back to this next week. 🎗️ |
hi @tbutter! Can you send an email with your real name to [email protected]? Then I can email you the CLA. Apologies for the late response - as George said, we all were at a company offsite last week. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@@ -364,6 +364,19 @@ func Run(options ...RunOption) { | |||
wg.Wait() | |||
} | |||
|
|||
func installDockerConfig() { | |||
const dockerConfigPath = "/home/gitpod/.docker/config.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the HOME variable instead of hardcoding the path here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if its set at that stage and have no way to test it.
All other install functions in supervisor.go also hardcode the path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, np. Other than that, please sign the CLA fast so that we can get this merged! 🚀 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I signed the CLA on March, 31st.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@axonasif what can I help to bring this MR forward?
the helper works. i assume the supervisor works too (but can't test locally)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a similar issue - shaal/DrupalPod#87 |
Description
This allows you to use gitlab.com credentials for docker using gitpod-cli.
It's currently only working for gitlab and I am looking for feedback if that's the right way to do it before adding other providers.
Requires an additional file in the workspace docker image:
/usr/bin/docker-credential-gp
and in
/home/gitpod/.docker/config.json
How to test
open a private gitlab repo context and then use
docker pull
to pull a private image from the gitlab registry.Release Notes
Documentation
not sure