fix: move orchestrator tests to nightly-only and fix log functions in subshells#3982
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR TypeEnhancement, Tests Description
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Enhancement |
| ||||
| Configuration changes |
| ||||
| Documentation |
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||
|
The image is available at: /test e2e-ocp-helm |
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) /test e2e-ocp-helm |
bef01de to
f9faf7a
Compare
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) /test e2e-ocp-helm |
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) /test e2e-ocp-helm |
d479a9e to
e7ac590
Compare
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) /test e2e-ocp-helm |
|
/test ? |
|
@gustavolira: The following commands are available to trigger required jobs: The following commands are available to trigger optional jobs: Use DetailsIn response to this:
Instructions 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. |
|
/test e2e-ocp-helm-nightly |
e7ac590 to
7ddbf43
Compare
|
The image is available at: /test e2e-ocp-helm |
|
/test e2e-ocp-helm |
e21e59f to
a084b7f
Compare
|
The image is available at: /test e2e-ocp-helm |
|
/test ? |
|
@gustavolira: The following commands are available to trigger required jobs: The following commands are available to trigger optional jobs: Use DetailsIn response to this:
Instructions 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. |
|
The image is available at: |
|
The image is available at: |
|
/test e2e-ocp-helm |
|
The image is available at: |
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) |
… subshells - Skip orchestrator E2E tests in mandatory PR job (e2e-ocp-helm) to speed up PRs - Skip orchestrator-infra chart installation in PR jobs - Skip orchestrator workflows deployment in PR jobs - Add PR-specific Helm values that disable orchestrator plugins and config - Export log functions in log.sh to make them available in subshells (fixes 'command not found' errors) - Update CI documentation to reflect orchestrator is nightly-only - Orchestrator tests continue running in all nightly jobs with full coverage This change reduces PR job execution time by avoiding unnecessary orchestrator infrastructure setup while maintaining complete orchestrator test coverage in nightly runs across all platforms (OCP, AKS, EKS, GKE).
Address PR review feedback: - Remove hardcoded plugin versions from PR diff files - Use yq post-processing to disable all orchestrator plugins dynamically - This approach works with any plugin version without maintenance - Update documentation wording per reviewer suggestion The post-processing approach: 1. Merges base values with minimal PR diff (only orchestrator: null) 2. Post-processes merged file to disable all plugins containing 'orchestrator' 3. Avoids version hardcoding and works with future plugin updates
Address PR review feedback - avoid duplicating post-processing logic since rbac_deployment is called after base_deployment in initiate_deployments. Extract the yq post-processing into a reusable helper function.
Refactor is_pr_e2e_ocp_helm_job() to should_skip_orchestrator() with: - More intuitive function name that describes intent - Clear comments explaining the skip conditions - Exclude nightly jobs so orchestrator runs for full testing This ensures orchestrator infrastructure is installed on nightly jobs while still being skipped on mandatory PR presubmit jobs for faster CI. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Address PR review feedback by including osd-gcp jobs in the should_skip_orchestrator() function, eliminating duplicate checks and centralizing the skip logic in one place. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Set orchestrator to null in the diff-values_showcase-rbac_PR.yaml file to ensure it remains disabled for PRs, aligning with the goal of speeding up mandatory presubmit jobs.
c5a4021 to
47ce641
Compare
|
|
The image is available at: |
|
/test ? |
|
@gustavolira: The following commands are available to trigger required jobs: The following commands are available to trigger optional jobs: Use DetailsIn response to this:
Instructions 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. |
|
/test e2e-ocp-helm-nightly |



This change reduces PR job execution time by avoiding unnecessary orchestrator infrastructure setup while maintaining complete orchestrator test coverage in nightly runs across all platforms (OCP, AKS, EKS, GKE).
Description
Please explain the changes you made here.
Which issue(s) does this PR fix
PR acceptance criteria
Please make sure that the following steps are complete:
How to test changes / Special notes to the reviewer