Skip to content

Commit 9711809

Browse files
Shubham Chauhangiorio94
authored andcommitted
Remove obsolete check_changes jobs from Ariane-managed workflows
These workflows are invoked through Ariane which handles change detection. Removed check_changes jobs and added paths-ignore-regex to ariane-config.yaml. Workflows: k8s-kind-network-e2e.yaml, tests-smoke-ipv6.yaml, tests-smoke-conformance.yaml Note: tests-smoke.yaml and documentation.yaml are not Ariane-managed (no workflow_dispatch), so they retain their check_changes jobs. Fixes: cilium#46676 Signed-off-by: Shubham Chauhan <shubhamx4mail@gmail.com>
1 parent 6c8ff98 commit 9711809

4 files changed

Lines changed: 7 additions & 78 deletions

File tree

.github/ariane-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,10 @@ workflows:
267267
tests-cifuzz.yaml:
268268
paths-regex: (\.github/workflows/tests-cifuzz\.yaml|fuzz_test.go|test/fuzzing/)
269269
k8s-kind-network-policies-e2e.yaml:
270-
paths-ignore-regex: (Documentation/|test/)
270+
paths-ignore-regex: (Documentation/|test/)
271+
tests-smoke-conformance.yaml:
272+
paths-ignore-regex: ((bpf/complexity-tests|bpf/tests|test|Documentation|hubble|.github/actions/cl2-modules|.github/actions/e2e|.github/actions/ginkgo)/|(.github/renovate\.json5|README.rst|CODEOWNERS|stable.txt|.*\.md|.*_test\.go)$)
273+
k8s-kind-network-e2e.yaml:
274+
paths-ignore-regex: ((bpf/complexity-tests|bpf/tests|test|Documentation|hubble|.github/actions/cl2-modules|.github/actions/e2e|.github/actions/ginkgo)/|(.github/renovate\.json5|README.rst|CODEOWNERS|stable.txt|.*\.md|.*_test\.go)$)
275+
tests-smoke-ipv6.yaml:
276+
paths-ignore-regex: ((bpf/complexity-tests|bpf/tests|test|Documentation|hubble|.github/actions/cl2-modules|.github/actions/e2e|.github/actions/ginkgo)/|(.github/renovate\.json5|README.rst|CODEOWNERS|stable.txt|.*\.md|.*_test\.go)$)

.github/workflows/k8s-kind-network-e2e.yaml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -60,33 +60,8 @@ jobs:
6060
with:
6161
sha: ${{ inputs.SHA || github.sha }}
6262

63-
check_changes:
64-
name: Deduce required tests from code changes
65-
runs-on: ubuntu-24.04
66-
outputs:
67-
tested: ${{ steps.tested-tree.outputs.src }}
68-
steps:
69-
- name: Checkout code
70-
if: ${{ !github.event.workflow_dispatch }}
71-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
72-
with:
73-
persist-credentials: false
74-
fetch-depth: 0
75-
- name: Check code changes
76-
uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
77-
id: tested-tree
78-
with:
79-
# For `push` events, compare against the `ref` base branch
80-
# For `workflow_dispatch` events, this is ignored and will compare against the pull request base branch
81-
base: ${{ github.ref }}
82-
filters: |
83-
src:
84-
- '!(test|Documentation)/**'
85-
8663
kubernetes-e2e:
8764
name: K8s Network E2E tests
88-
needs: check_changes
89-
if: ${{ needs.check_changes.outputs.tested == 'true' }}
9065
runs-on: ${{ vars.GH_RUNNER_EXTRA_POWER_UBUNTU_LATEST || 'ubuntu-24.04' }}
9166
timeout-minutes: 90
9267
strategy:

.github/workflows/tests-smoke-conformance.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -73,35 +73,9 @@ jobs:
7373
with:
7474
sha: ${{ inputs.SHA || github.sha }}
7575

76-
check_changes:
77-
name: Deduce required tests from code changes
78-
runs-on: ubuntu-24.04
79-
outputs:
80-
tested: ${{ steps.tested-tree.outputs.src }}
81-
steps:
82-
- name: Checkout code
83-
if: ${{ !github.event.workflow_dispatch }}
84-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
85-
with:
86-
persist-credentials: false
87-
fetch-depth: 0
88-
- name: Check code changes
89-
uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
90-
id: tested-tree
91-
with:
92-
# For `push` events, compare against the `ref` base branch
93-
# For `workflow_dispatch` events, this is ignored and will compare against the pull request base branch
94-
base: ${{ github.ref }}
95-
filters: |
96-
src:
97-
- '!(test|Documentation)/**'
98-
- '!**/*.md'
99-
10076
conformance-test:
10177
env:
10278
job_name: "Conformance Smoke Test"
103-
needs: check_changes
104-
if: ${{ needs.check_changes.outputs.tested == 'true' }}
10579
runs-on: ubuntu-24.04
10680
name: Installation and Conformance Test
10781
steps:

.github/workflows/tests-smoke-ipv6.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -64,35 +64,9 @@ jobs:
6464
with:
6565
sha: ${{ inputs.SHA || github.sha }}
6666

67-
check_changes:
68-
name: Deduce required tests from code changes
69-
runs-on: ubuntu-24.04
70-
outputs:
71-
tested: ${{ steps.tested-tree.outputs.src }}
72-
steps:
73-
- name: Checkout code
74-
if: ${{ !github.event.workflow_dispatch }}
75-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
76-
with:
77-
persist-credentials: false
78-
fetch-depth: 0
79-
- name: Check code changes
80-
uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
81-
id: tested-tree
82-
with:
83-
# For `push` events, compare against the `ref` base branch
84-
# For `workflow_dispatch` events, this is ignored and will compare against the pull request base branch
85-
base: ${{ github.ref }}
86-
filters: |
87-
src:
88-
- '!(test|Documentation)/**'
89-
- '!**/*.md'
90-
9167
conformance-test-ipv6:
9268
env:
9369
job_name: "Conformance Smoke Test with IPv6"
94-
needs: check_changes
95-
if: ${{ needs.check_changes.outputs.tested == 'true' }}
9670
runs-on: ubuntu-24.04
9771
name: Installation and Conformance Test (ipv6)
9872
steps:

0 commit comments

Comments
 (0)