pelorus icon indicating copy to clipboard operation
pelorus copied to clipboard

Prow CI should only run against PRs that touch Pelorus code

Open mateusoliveira43 opened this issue 1 year ago • 0 comments

OpenShift version

Not related to OpenShift

Problem description

Today, Prow CI jobs runs against all PRs. It should only run against PRs related to Pelorus code, i.e.:

  • exporters folder
  • charts folder
  • pelorus-operator folder

Example configuration on how to achieve this:

  • https://github.com/openshift/release/blob/master/ci-operator/jobs/openshift/oadp-operator/openshift-oadp-operator-master-presubmits.yaml#L898
  • https://github.com/openshift/release/blob/master/ci-operator/jobs/openshift/oadp-operator/openshift-oadp-operator-master-presubmits.yaml#L915

Steps to reproduce

Not aplicable.

Current behavior

Prow CI jobs run against all PRs.

Expected behavior

Prow CI jobs run only on necessary PRs.

Code of Conduct

  • [X] I agree to follow Pelorus's Code of Conduct

mateusoliveira43 avatar Sep 29 '23 13:09 mateusoliveira43