feat: allow runner_pool to override runner type for self-hosted pools#775
Merged
feat: allow runner_pool to override runner type for self-hosted pools#775
Conversation
When runner_pool is specified, scenarios configured with type "github" will now run on self-hosted runners with the specified pool label. This enables workflows to redirect GitHub-hosted jobs to self-hosted runner pools while maintaining backward compatibility. Changes: - Modify build_runner_labels() to check runner_pool first - If runner_pool is set, use self-hosted with pool label regardless of runner_type - Pass scenario tags when runner_pool is specified, even for "github" type - Maintain backward compatibility: no runner_pool = existing behavior Backward compatibility verified: - No runner_pool argument → uses ubuntu-latest for "github" type (unchanged) - runner_pool specified → uses self-hosted with pool (new behavior) - self-hosted without pool → uses self-hosted with tags (unchanged) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add detection for K3s control-plane nodes using the node-role.kubernetes.io/control-plane label. K3s single-node clusters are treated the same as microk8s, with the node counted as both master and worker. This enables the kube endpoint to work with K3s distributions, resolving "No masters found" and "No workers found" errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
atheurer
approved these changes
Mar 20, 2026
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.
When runner_pool is specified, scenarios configured with type "github" will now run on self-hosted runners with the specified pool label. This enables workflows to redirect GitHub-hosted jobs to self-hosted runner pools while maintaining backward compatibility.
Changes:
Backward compatibility verified: