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

passwordstore: Add some real gopass integration tests #5030

Merged

Conversation

grembo
Copy link
Contributor

@grembo grembo commented Jul 29, 2022

SUMMARY

Since the lookup_passwordstore module gained some real gopass support, add real unit tests for it.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

lookup_passwordstore

@grembo grembo mentioned this pull request Jul 29, 2022
This is work in progress.
@grembo grembo force-pushed the lookup_passwordstore_gopass_tests branch from c04ea80 to 8d15047 Compare July 29, 2022 16:44
@ansibullbot ansibullbot added feature This issue/PR relates to a feature request integration tests/integration tests tests needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Jul 29, 2022
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-5 labels Jul 29, 2022
@grembo grembo force-pushed the lookup_passwordstore_gopass_tests branch 3 times, most recently from 5798cf1 to 395c5e0 Compare July 31, 2022 00:33
@grembo grembo force-pushed the lookup_passwordstore_gopass_tests branch from 395c5e0 to aed7d1d Compare July 31, 2022 00:40
@ansibullbot ansibullbot removed the needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR label Jul 31, 2022
@grembo grembo force-pushed the lookup_passwordstore_gopass_tests branch from 0087045 to 6e2597d Compare July 31, 2022 01:01
@grembo
Copy link
Contributor Author

grembo commented Jul 31, 2022

@felixfontein This is ready to be reviewed now.

@grembo grembo force-pushed the lookup_passwordstore_gopass_tests branch from 7b7bdaf to fe615ab Compare July 31, 2022 11:11
@felixfontein
Copy link
Collaborator

I'll merge this later today if nobody complains :)

@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Jul 31, 2022
@felixfontein felixfontein merged commit 74f2e1d into ansible-collections:main Jul 31, 2022
@patchback
Copy link

patchback bot commented Jul 31, 2022

Backport to stable-5: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-5/74f2e1d28b01e25fe2c894381b7fff1996cedfd9/pr-5030

Backported as #5042

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jul 31, 2022
* passwordstore: Add some real go tests

This is work in progress.

* passwordstore: Fix gopass init

* Init gopass store in explicit path in integration test

* passwordstore: Show versions of tools in integration test

* passwordstore: Install gopass from different location on Debian

Part of integration tests

* passwordstore: Add changelog fragment for #5030

* passwordstore: Address review feedback

(cherry picked from commit 74f2e1d)
@felixfontein
Copy link
Collaborator

@grembo thanks for contributing these tests!

@grembo
Copy link
Contributor Author

grembo commented Jul 31, 2022

@grembo thanks for contributing these tests!

@felixfontein Thanks for reviewing them!

@github-actions
Copy link

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

felixfontein pushed a commit that referenced this pull request Jul 31, 2022
* passwordstore: Add some real go tests

This is work in progress.

* passwordstore: Fix gopass init

* Init gopass store in explicit path in integration test

* passwordstore: Show versions of tools in integration test

* passwordstore: Install gopass from different location on Debian

Part of integration tests

* passwordstore: Add changelog fragment for #5030

* passwordstore: Address review feedback

(cherry picked from commit 74f2e1d)

Co-authored-by: grembo <freebsd@grem.de>
bratwurzt pushed a commit to bratwurzt/community.general that referenced this pull request Nov 7, 2022
…tions#5030)

* passwordstore: Add some real go tests

This is work in progress.

* passwordstore: Fix gopass init

* Init gopass store in explicit path in integration test

* passwordstore: Show versions of tools in integration test

* passwordstore: Install gopass from different location on Debian

Part of integration tests

* passwordstore: Add changelog fragment for ansible-collections#5030

* passwordstore: Address review feedback
bratwurzt pushed a commit to bratwurzt/community.general that referenced this pull request Nov 7, 2022
…tions#5030)

* passwordstore: Add some real go tests

This is work in progress.

* passwordstore: Fix gopass init

* Init gopass store in explicit path in integration test

* passwordstore: Show versions of tools in integration test

* passwordstore: Install gopass from different location on Debian

Part of integration tests

* passwordstore: Add changelog fragment for ansible-collections#5030

* passwordstore: Address review feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request integration tests/integration tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants