Skip to content

Commit

Permalink
AGENT-945: Optimize CI to Skip Irrelevant Jobs for Agent Installer (o…
Browse files Browse the repository at this point in the history
…penshift#55479)

* AGENT-945: Optimize CI to Skip Irrelevant Jobs for Agent Installer

* Update regex
  • Loading branch information
pawanpinjarkar authored and MiguelCarpio committed Sep 12, 2024
1 parent 3c00b89 commit f0f469d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ tests:
commands: go test ./pkg/... -tags=aro
container:
from: src
skip_if_only_changed: (^docs/)|((^|/)OWNERS(_ALIASES)?$)|((^|/)[A-Z]+\.md$)
skip_if_only_changed: (^docs/)|((^|/)OWNERS(_ALIASES)?$)|((^|/)[A-Z]+\.md$)|(^pkg/asset/agent/)
- as: gofmt
commands: IS_CONTAINER=TRUE ./hack/go-fmt.sh .
container:
Expand Down Expand Up @@ -310,7 +310,7 @@ tests:
container:
from: src
- as: e2e-aws-ovn
skip_if_only_changed: (^(docs|upi|hack)/)|((^|/)OWNERS(_ALIASES)?$)|((^|/)[A-Z]+\.md$)|(^images/(agent|alibabacloud|azure|azurestack|baremetal|gcp|ibmcloud|libvirt|nutanix|openstack|ovirt|powervs|vsphere)/)
skip_if_only_changed: (^(docs|upi|hack)/)|((^|/)OWNERS(_ALIASES)?$)|((^|/)[A-Z]+\.md$)|(^images/(baremetal|libvirt|openstack))|(^terraform/providers)|(^cluster-api/providers/([^a]|a[^w]|aw[^s]).*/)|(/agent/)
steps:
cluster_profile: aws
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2825,7 +2825,7 @@ presubmits:
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-installer-master-aro-unit
rerun_command: /test aro-unit
skip_if_only_changed: (^docs/)|((^|/)OWNERS(_ALIASES)?$)|((^|/)[A-Z]+\.md$)
skip_if_only_changed: (^docs/)|((^|/)OWNERS(_ALIASES)?$)|((^|/)[A-Z]+\.md$)|(^pkg/asset/agent/)
spec:
containers:
- args:
Expand Down Expand Up @@ -3626,7 +3626,7 @@ presubmits:
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-installer-master-e2e-aws-ovn
rerun_command: /test e2e-aws-ovn
skip_if_only_changed: (^(docs|upi|hack)/)|((^|/)OWNERS(_ALIASES)?$)|((^|/)[A-Z]+\.md$)|(^images/(agent|alibabacloud|azure|azurestack|baremetal|gcp|ibmcloud|libvirt|nutanix|openstack|ovirt|powervs|vsphere)/)
skip_if_only_changed: (^(docs|upi|hack)/)|((^|/)OWNERS(_ALIASES)?$)|((^|/)[A-Z]+\.md$)|(^images/(baremetal|libvirt|openstack))|(^terraform/providers)|(^cluster-api/providers/([^a]|a[^w]|aw[^s]).*/)|(/agent/)
spec:
containers:
- args:
Expand Down

0 comments on commit f0f469d

Please sign in to comment.