Skip to content

Run local KES for S3 integration tests #4547

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

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Run local KES for S3 integration tests #4547

merged 1 commit into from
Nov 10, 2021

Conversation

bboreham
Copy link
Contributor

@bboreham bboreham commented Nov 3, 2021

What this PR does:

Instead of calling out to play.min.io, run the KES service locally in a container.
Generate its key and cert instead of downloading them from GitHub.

By depending on fewer third-party services we reduce test failures.

Extract function to generate PKI certificates.
Update to more recent Minio image; not using the very latest KES because it removed --root which is useful.
Re-enable the SSE tests (see #4545)

Which issue(s) this PR fixes:
Fixes #4543

Checklist

  • Tests updated
  • NA Documentation added
  • NA CHANGELOG.md - not a user-visible change.

Instead of calling out to play.min.io, run the KES service locally in a
container. Generate its key and cert instead of downloading them from
GitHub.

By depending on fewer third-party services we reduce test failures.

Extract function to generate PKI certificates.
Update to more recent Minio image; not using the very latest KES because
it removed `--root` which is useful.
Re-enable the SSE tests (see #4545)

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
"kes",
images.KES,
e2e.NewCommandWithoutEntrypoint("sh", "-c", command),
nil, // KES only supports https calls - TODO make Scenario able to call https or poll plain TCP socket.
Copy link
Contributor

Choose a reason for hiding this comment

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

We have TCPReadinessProbe. Does it work to you?

@alvinlin123 alvinlin123 merged commit cd29c23 into master Nov 10, 2021
srijan55 pushed a commit to srijan55/cortex that referenced this pull request Nov 26, 2021
Instead of calling out to play.min.io, run the KES service locally in a
container. Generate its key and cert instead of downloading them from
GitHub.

By depending on fewer third-party services we reduce test failures.

Extract function to generate PKI certificates.
Update to more recent Minio image; not using the very latest KES because
it removed `--root` which is useful.
Re-enable the SSE tests (see cortexproject#4545)

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
Signed-off-by: Manish Kumar Gupta <manishkg@microsoft.com>
simonswine pushed a commit to grafana/e2e that referenced this pull request Jan 13, 2022
Instead of calling out to play.min.io, run the KES service locally in a
container. Generate its key and cert instead of downloading them from
GitHub.

By depending on fewer third-party services we reduce test failures.

Extract function to generate PKI certificates.
Update to more recent Minio image; not using the very latest KES because
it removed `--root` which is useful.
Re-enable the SSE tests (see cortexproject/cortex#4545)

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
alvinlin123 pushed a commit to ac1214/cortex that referenced this pull request Jan 14, 2022
Instead of calling out to play.min.io, run the KES service locally in a
container. Generate its key and cert instead of downloading them from
GitHub.

By depending on fewer third-party services we reduce test failures.

Extract function to generate PKI certificates.
Update to more recent Minio image; not using the very latest KES because
it removed `--root` which is useful.
Re-enable the SSE tests (see cortexproject#4545)

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
@friedrichg friedrichg deleted the local-kes branch February 15, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration tests depend on minio kes experimental environment
4 participants