Skip to content

DPTP-4372: Hive: skip [periodic-]images if unnecessary - #63029

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:masterfrom
2uasimojo:DPTP-4372/hive-images-dont-always_run
Mar 20, 2025
Merged

openshift-merge-bot[bot] merged 1 commit into
openshift:masterfrom
2uasimojo:DPTP-4372/hive-images-dont-always_run

Conversation

@2uasimojo

Copy link
Copy Markdown
Member

It looks like #58886 switched hive's images and periodic-images jobs to always_run: true and removed their skip_if_only_changed. This was having two effects:

  • For Draft PRs, prow was reporting these jobs as "expected". Per the referenced card, it wasn't actually running them, but it was confusing to the observer (as evidenced by the creation of that card, sheepish-smiley-face).
  • For non-Draft PRs, prow was running these jobs even if the PR was e.g. only a doc change.

This commit restores the previous config for these two jobs, which should resolve the second thing, and will hopefully also address the first.

It looks like openshift#58886 switched hive's `images` and `periodic-images` jobs
to `always_run: true` and removed their `skip_if_only_changed`. This was
having two effects:
- For Draft PRs, prow was reporting these jobs as "expected". Per the
  referenced card, it wasn't actually _running_ them, but it was
  confusing to the observer (as evidenced by the creation of that card,
  sheepish-smiley-face).
- For non-Draft PRs, prow was running these jobs even if the PR was e.g.
  only a doc change.

This commit restores the previous config for these two jobs, which
should resolve the second thing, and will hopefully also address the
first.
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 20, 2025
@openshift-ci-robot

openshift-ci-robot commented Mar 20, 2025 •

Copy link
Copy Markdown
Contributor

@2uasimojo: This pull request references DPTP-4372 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.19.0" version, but no target version was set.

Details

In response to this:

It looks like #58886 switched hive's images and periodic-images jobs to always_run: true and removed their skip_if_only_changed. This was having two effects:

  • For Draft PRs, prow was reporting these jobs as "expected". Per the referenced card, it wasn't actually running them, but it was confusing to the observer (as evidenced by the creation of that card, sheepish-smiley-face).
  • For non-Draft PRs, prow was running these jobs even if the PR was e.g. only a doc change.

This commit restores the previous config for these two jobs, which should resolve the second thing, and will hopefully also address the first.

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 openshift-eng/jira-lifecycle-plugin repository.

@2uasimojo

Copy link
Copy Markdown
Member Author

/pj-rehearse skip
/cc @smg247
/assign @dlom

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@2uasimojo: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Mar 20, 2025
@openshift-ci
openshift-ci Bot requested a review from smg247 March 20, 2025 14:28
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 20, 2025
@openshift-ci
openshift-ci Bot requested review from dlom and suhanime March 20, 2025 14:29
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@2uasimojo: no rehearsable tests are affected by this change

@dlom

dlom commented Mar 20, 2025

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Mar 20, 2025
@openshift-ci

openshift-ci Bot commented Mar 20, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 2uasimojo, dlom

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-bot Bot merged commit 6e5b007 into openshift:master Mar 20, 2025
@openshift-ci

openshift-ci Bot commented Mar 20, 2025

Copy link
Copy Markdown
Contributor

@2uasimojo: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@2uasimojo
2uasimojo deleted the DPTP-4372/hive-images-dont-always_run branch March 20, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants