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

test-e2e: no need to run vaultcomat tests as root #18215

Merged
merged 1 commit into from
Aug 15, 2023
Merged

Conversation

shoenig
Copy link
Member

@shoenig shoenig commented Aug 15, 2023

6747ef8 fixes the Nomad client to support using the raw_exec
driver while running as a non-root user. Remove the use of sudo
in the test-e2e workflow for running integration (vaultcompat)
tests.

Needed to plumb cpu_total_compute client config for the agent
runner, since Nomad cannot detect the cpu specs on the github public
runner without root.

@shoenig shoenig force-pushed the vault-tests-nonroot branch 2 times, most recently from 581495f to 2b9c06a Compare August 15, 2023 20:02
6747ef8 fixes the Nomad client to support using the raw_exec
driver while running as a non-root user. Remove the use of sudo
in the test-e2e workflow for running integration (vaultcompat)
tests.
Copy link
Member

@gulducat gulducat left a comment

Choose a reason for hiding this comment

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

hooray for de-escalating perms!

@shoenig shoenig merged commit 6fca4fa into main Aug 15, 2023
25 of 26 checks passed
@shoenig shoenig deleted the vault-tests-nonroot branch August 15, 2023 21:00
@lgfa29 lgfa29 added backport/1.4.x backport to 1.4.x release line backport/1.5.x backport to 1.5.x release line backport/1.6.x backport to 1.6.x release line labels Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.4.x backport to 1.4.x release line backport/1.5.x backport to 1.5.x release line backport/1.6.x backport to 1.6.x release line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants