-
Notifications
You must be signed in to change notification settings - Fork 177
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
feat: add support for gopass as a credential store #268
base: master
Are you sure you want to change the base?
Conversation
540cce2
to
f4090b4
Compare
043a423
to
fc40f5a
Compare
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.
Thanks for your contrib, please check CI issues.
Also missing build-gopass
make target in build-linux
, build-darwin
and build-windows
stages in the Dockerfile.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #268 +/- ##
==========================================
- Coverage 55.28% 55.21% -0.08%
==========================================
Files 9 10 +1
Lines 624 757 +133
==========================================
+ Hits 345 418 +73
- Misses 234 276 +42
- Partials 45 63 +18 ☔ View full report in Codecov by Sentry. |
8c1d14a
to
bc197e4
Compare
|
Yep, I'm aware of this and have a WIP solution that should resolve the |
94f7949
to
2439e3a
Compare
i'm not sure #289 resolves the issue we're seeing in the GHA tests. it looks like the this should be addressed with sudoforge/docker-credential-helpers@4e78793 (the latest push as of this edit) |
FWIW, i find the lack of a sandboxed test environment for all of the tests a little frustrating: running the test suite locally populates commits in my host machine's password store. this should probably be addressed separately. i'm firmly of the opinion that tests shouldn't have side effects. |
rebased on top of c842499 (the latest |
Thanks for running the test pipeline. Looks like initialization is failing on ubuntu and macos, and the windows test is failing to initialize for a reason related to the pubkey. I'll take a closer look later today. |
It seems like this feature lost steam trying to get the Windows tests passing, but for what it's worth, I'd love to see this merged; |
actually, it lost steam to real life, as things seem to often do -- but i'd still love to get this merged as well! i can revisit it this weekend. |
sudoforge/docker-credential-helpers@0ebbeb8 is a rebase on top of 097f945; this is not expected to pass the entire pipeline -- i'm expecting it to fail on the |
@crazy-max @thaJeztah would it be possible to get the pipelines kicked off for this PR some time this next week? i should only need a maximum of two more runs as far as i can tell:
i'd greatly appreciate your attention to this, and if there's anything i can do to make this a bit smoother, please let me know. |
👋 checking in again. can we get the tests executed for this tree? |
@thaJeztah @crazy-max checking in again. |
5002a10
to
98a7278
Compare
I have created a commit which restricts pipeline steps that upload artifacts and/or consume secrets to this upstream repository, allowing me to enable actions in my fork, so that I can iterate on this freely. |
The Windows pipeline now passes: https://github.com/sudoforge/docker-credential-helpers/actions/runs/9899993331/job/27349937852 This tree will now pass all of the pipelines. It has (since the last time it was reviewed) received a few changes:
|
Due to the lack of response from any maintainer, I feel compelled to let people know that they are able to build from my fork and use it, if they desire I will accept no other contributions to the fork at this point in time. |
@sudoforge thank you for chasing this! It's disappointing that it may not get merged in, but I can definitely use your fork. Appreciate the work you've put in here. 🍻 |
…elpers This change adds conditional expressions to restrict the execution of pipeline steps that consume secrets, such as uploading artifacts to remote stores, from being executed unless they are being executed in the context of the upstream `docker/docker-credential-helpers` repository. With this change, downstream, external contributors (users who have forked this repository, and have that fork on GitHub) can enable GitHub Actions in their fork, in order to iterate and validate their changes without waiting on the upstream maintainers. This is extremely helpful to all contributors, because the repository requires maintainer approval in order to execute pipelines, which is burdensome on the maintainers, and due to this restrictive gatekeeping, contributors have an excessively long feedback loop. Signed-off-by: sudoforge <no-reply@sudoforge.com>
This change adds support for `gopass` as a credential store, based on the `pass` implementation. Closes: docker#138 Closes: docker#166 Signed-off-by: sudoforge <no-reply@sudoforge.com>
This change adds support for
gopass
as a credential store, based onthe
pass
implementation.Closes #138
Closes #166