-
-
Notifications
You must be signed in to change notification settings - Fork 205
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 support for Docker credential providers which do not implement list command #902
Add support for Docker credential providers which do not implement list command #902
Conversation
✅ Deploy Preview for testcontainers-node ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
docker-credential-gcr
docker-credential-gcr
Hi @glebbash, you've added a test |
I am not sure what you mean about a file with GCR credentials and what the expected output should be. As for reasons why this is required I think it's pretty clear - if command is not implemented it should just use defaults. Adding a link to the issue in a comment before the condition could make it clearer but I just wanted to make the minimum amount of changes to support |
I mean, this PR supposedly fixes the resolution of GCR credentials, could you show that? A test showing that something returns an empty object doesn't show that |
This PR does not fix resolution of GCR credentials. What it does is make testcontainers usable for whoever happens to be using I was patching the lib's compiled JS source to make it not throw the I don't know if this supports private GCR registries or whatever, the only thing I know is that it fixes the issue described in #739 which has 5 +1s so I don't think that it's just my setup that is affected. |
@cristianrgreco if you have a better test in mind feel free to update the PR or fix this issue in different PR. |
I think it's my misunderstanding TBH. The PR said it added support for docker-credential-gcr so I assumed it would support resolving GCR credentials. I didn't realise that supporting docker-credential-gcr actually involves just not throwing when running the list command 😄
Thought this was a bit rude TBH. I work on this project in my free time. If I propose a suggestion and the response is effectively "I don't care and I can't be asked to find out", it doesn't particularly motivate me to work on it.
This project has a lot of moving parts and 2M downloads/month. Five +1s on a year old issue isn't exactly concerning, but thanks for the contribution.
Thanks for the advice 😅 |
docker-credential-gcr
Definitely did not intend to be rude. Was just getting trying to describe the situation in multiple ways :) And thanks for your work on the lib 👍 |
Fixes #739