Fix OTEL/Tempo Jobs parameters - #80115
Conversation
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (4)
WalkthroughThis PR adds Gangway API support for overriding test branch selection in distributed-tracing test stages by introducing new ChangesBranch Override Parameters for Distributed-Tracing Stages
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pavolloffay The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@pavolloffay: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Summary by CodeRabbit
This PR adds support for parameterizing OpenTelemetry and Tempo operator test configurations through the Gangway API by introducing override environment variables.
What Changed:
The PR modifies the stage test jobs for OpenTelemetry and Tempo distributed tracing operators to accept branch overrides via Gangway API's
pod_spec_options.envsmechanism.For OpenTelemetry tests:
distributed-tracing-tests-opentelemetry-stage-commands.shscript now checks forMULTISTAGE_PARAM_OVERRIDE_OTEL_TESTS_BRANCHand uses it to setOTEL_TESTS_BRANCHif presentdistributed-tracing-tests-opentelemetry-stage-ref.yamlstage configuration documents the newMULTISTAGE_PARAM_OVERRIDE_OTEL_TESTS_BRANCHparameter with instructions for Gangway API usageFor Tempo tests:
MULTISTAGE_PARAM_OVERRIDE_TEMPO_TESTS_BRANCHparameter added to both the commands script and the stage ref configurationImpact:
This enables operators and CI engineers to dynamically override the test operator branch at runtime without modifying job configurations, providing greater flexibility when running tests through Gangway workflows. The override parameters follow OpenShift's
MULTISTAGE_PARAM_OVERRIDE_naming convention for compatibility with Gangway's pod spec options mechanism.