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

CI: test against n-2 versions of Vault #604

Merged
merged 27 commits into from
Apr 16, 2024

Conversation

benashz
Copy link
Contributor

@benashz benashz commented Mar 13, 2024

This PR add support for testing the VAI against n-2 versions of Vault. It is adapted from the work done in the vault-secrets-operator project.

Relates to hashicorp/vault-csi-provider#249

Copy link
Contributor

@tomhjp tomhjp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this on. The same comments that I made in hashicorp/vault-csi-provider#249 also apply here, but again I am happy either way.

.github/workflows/tests.yaml Outdated Show resolved Hide resolved
@benashz benashz requested a review from tomhjp March 19, 2024 21:49
@benashz benashz requested a review from a team as a code owner March 20, 2024 19:58
Copy link
Contributor

@tomhjp tomhjp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just a couple of nits

Makefile Show resolved Hide resolved
.github/actions/integration-test/action.yml Outdated Show resolved Hide resolved
@benashz benashz marked this pull request as draft March 21, 2024 18:01
@benashz benashz marked this pull request as ready for review March 22, 2024 13:42
@benashz benashz requested a review from tomhjp March 22, 2024 15:48
@benashz benashz requested a review from tvoran March 25, 2024 17:20
.github/workflows/tests.yaml Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file being used? Looks like the tests are using the kind config from the vault-helm checkout?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, it was leftover from a previous attempt to make the tests more self contained. Unfortunately, running the tests locally requires pulling in vault-helm, and doing lots of manual setup.

Removed it.

.github/actions/integration-test/action.yml Outdated Show resolved Hide resolved
.github/actions/integration-test/action.yml Outdated Show resolved Hide resolved
.github/actions/integration-test/action.yml Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
.github/actions/integration-test/action.yml Outdated Show resolved Hide resolved
@benashz benashz force-pushed the VAULT-24903/test-n-2-vault-versions branch from 75c35f9 to e663af2 Compare March 26, 2024 16:54
@benashz benashz requested a review from tvoran March 26, 2024 18:10
@benashz
Copy link
Contributor Author

benashz commented Mar 26, 2024

@tvoran should be good for another pass. Thanks!

.github/actions/integration-test/action.yml Outdated Show resolved Hide resolved
@benashz benashz force-pushed the VAULT-24903/test-n-2-vault-versions branch from 7423376 to c4b2432 Compare April 9, 2024 19:47
@benashz benashz force-pushed the VAULT-24903/test-n-2-vault-versions branch from cb364e3 to 892d419 Compare April 9, 2024 20:13
@benashz benashz merged commit 0e10b04 into main Apr 16, 2024
10 checks passed
@benashz benashz deleted the VAULT-24903/test-n-2-vault-versions branch April 16, 2024 23:03
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.

3 participants