[DON'T MERGE] Test kind clusters in CI #163
Draft
mclasmeier wants to merge 6 commits into
Draft
Conversation
Add StartDetached() to portforward.Manager that spawns kubectl port-forward in a new session (setsid) so it survives the parent process exiting. Returns the endpoint and PID for later cleanup. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use detached port-forward in envrc mode so the kubectl port-forward process survives roxie exiting. The PID is written to the envrc file as ROXIE_PORT_FORWARD_PID for later cleanup. This removes the restrictions that prevented --envrc from being combined with --port-forwarding or --exposure=none, enabling roxie to work on kind clusters in non-interactive (CI) mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Stop passing --exposure=loadbalancer explicitly in e2e tests and rely on roxie's built-in cluster type detection to set the appropriate defaults (e.g. exposure=none + port-forwarding on kind, loadbalancer on GKE). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a reusable e2e-tests-kind.yml workflow that creates a kind cluster and runs the e2e test suite against it. The roxie binary is extracted from the already-built image. OLM tests are skipped since kind has no OLM. Wire the new job into both PR and main-push workflows, running in parallel with the existing GKE-based e2e tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Read ROXIE_PORT_FORWARD_PID from the environment on deployer init and kill the process during teardownCentral, so the detached port-forward started in envrc mode doesn't leak. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
davdhacs
approved these changes
May 8, 2026
Collaborator
davdhacs
left a comment
There was a problem hiding this comment.
I just ran into wanting a detached port-forward process today. My workaround was to detach roxie's process. This is better so I don't have to check&store roxie's log. ty
Collaborator
Author
|
Lets pick this up after the new config file changes land. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I "just" wanted to enable testing of kind clusters in CI.
There was one major obstacle: kind has no loadbalancer exposure, hence the way to go would be port-forwarding. But until now port-forwarding was only supported by roxie for sub-shell mode, not envrc writing.