Skip nongroovy and upgrade e2e tests for UI-only PRs#80760
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughAdds ChangesE2e job UI-only skip conditions
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 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)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@dvail, Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse |
|
@dvail: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse |
|
@dvail: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: davdhacs, dvail 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 |
|
These jobs are required on PRs in the stackrox repo. GHA jobs that are required, are not enforced if skipped. However, I do not know if openshift skipped jobs will be treated the same way. We may have to remove them from the check_required list. |
|
@dvail: The following test failed, say
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. |
| - as: gke-nongroovy-e2e-tests | ||
| skip_if_only_changed: ^ui/ |
There was a problem hiding this comment.
I doubt it's going to work as intended.
These jobs are configured as required in branch rules. This means, they are required for merging PR.
If these jobs are skipped, GitHub will block PR displaying the jobs as pending.
The author of the PR will have to manually trigger them with /test <...> comments.
This would delay the PR cycle and frustrate folks who are used to have things working more automatically.
Skips a variety of OSCI jobs that are 100% unaffected by changes isolated under
ui/when a pull request only changes files underui/.Uses same pattern precedent from other similar jobs.
Summary by CodeRabbit
This pull request improves CI/CD efficiency for the StackRox repository by preventing specific OSCI end-to-end test jobs from running when a pull request contains changes exclusively under the
ui/directory. Since these jobs are not impacted by UI-only updates, skipping them reduces unnecessary pipeline load.What changed
ci-operator/config/stackrox/stackrox/stackrox-stackrox-master.yaml:gke-nongroovy-e2e-teststo addskip_if_only_changed: ^ui/and removedalways_run: true.gke-upgrade-teststo addskip_if_only_changed: ^ui/and removedalways_run: true.ci-operator/config/stackrox/stackrox/stackrox-stackrox-master__ocp-4-12.yaml: updatednongroovy-e2e-testswithskip_if_only_changed: ^ui/and removedalways_run: true.ci-operator/config/stackrox/stackrox/stackrox-stackrox-master__ocp-4-21.yaml: updatednongroovy-e2e-testswithskip_if_only_changed: ^ui/and removedalways_run: true.ci-operator/config/stackrox/stackrox/stackrox-stackrox-master__ocp-4-22.yaml: updatednongroovy-e2e-testswithskip_if_only_changed: ^ui/and removedalways_run: true.Overall impact
UI-only PRs will no longer trigger these nongroovy and upgrade E2E test jobs across the supported master and OpenShift versions, aligning the behavior with existing CI patterns in the codebase.