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

feat: add HashiCorp Vault service #565

Merged
merged 6 commits into from
May 2, 2023
Merged

Conversation

brandonhamilton
Copy link
Contributor

No description provided.

src/modules/services/vault.nix Outdated Show resolved Hide resolved
@domenkozar
Copy link
Member

Thanks a lot for contributing this!

I'd ask you to write a basic test to assert value has started, using a special file named .test.sh. See an example https://github.com/cachix/devenv/blob/main/examples/python-poetry/.test.sh

examples/vault/.test.sh Outdated Show resolved Hide resolved
@domenkozar
Copy link
Member

Error checking seal status: Get "http://127.0.0.1:8200/v1/sys/seal-status": dial tcp 127.0.0.1:8200: connect: connection refused

seems like it needs a bit more tweaking, almost there!

@brandonhamilton
Copy link
Contributor Author

Yes, I suspect there is some race condition with the test script, as it passes on both the macOs platform tests.

@brandonhamilton
Copy link
Contributor Author

I've pushed a change that will hopefully give better info if the test fails

@domenkozar domenkozar merged commit ecdddd4 into cachix:main May 2, 2023
@brandonhamilton brandonhamilton deleted the vault branch May 3, 2023 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants