Skip to content

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 <[email protected]>
"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 <[email protected]>
Signed-off-by: Manish Kumar Gupta <[email protected]>
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 <[email protected]>
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 <[email protected]>
Signed-off-by: Alvin Lin <[email protected]>
@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