Skip to content

Commit

Permalink
rm path filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan4th committed Jan 17, 2025
1 parent f80f1d2 commit e589a1f
Showing 1 changed file with 17 additions and 25 deletions.
42 changes: 17 additions & 25 deletions .github/workflows/systest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,18 @@ concurrency:
cancel-in-progress: ${{ github.base_ref == 'staging' && false || true }}

jobs:
filter-changes:
runs-on: ubuntu-22.04
outputs:
nondocchanges: ${{ steps.filter.outputs.nondoc }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
predicate-quantifier: 'every'
filters: |
nondoc:
- '!**/*.md'
- '!.github/CODEOWNERS'
# filter-changes:
# runs-on: ubuntu-22.04
# outputs:
# nondocchanges: ${{ steps.filter.outputs.nondoc }}
# steps:
# - uses: actions/checkout@v4

build-docker-images:
runs-on: ubuntu-22.04
if: ${{ needs.filter-changes.outputs.nondocchanges == 'true' }}
needs:
- filter-changes
#if: ${{ needs.filter-changes.outputs.nondocchanges == 'true' }}
# needs:
# - filter-changes
timeout-minutes: 20
permissions:
contents: 'read'
Expand Down Expand Up @@ -120,9 +112,9 @@ jobs:

provision-cluster:
runs-on: ubuntu-22.04
if: ${{ needs.filter-changes.outputs.nondocchanges == 'true' }}
needs:
- filter-changes
# if: ${{ needs.filter-changes.outputs.nondocchanges == 'true' }}
# needs:
# - filter-changes
timeout-minutes: 20
permissions:
contents: 'read'
Expand Down Expand Up @@ -171,9 +163,9 @@ jobs:
systest-gke:
runs-on: ubuntu-22.04
if: ${{ needs.filter-changes.outputs.nondocchanges == 'true' }}
# if: ${{ needs.filter-changes.outputs.nondocchanges == 'true' }}
needs:
- filter-changes
# - filter-changes
- provision-cluster
- build-docker-images
timeout-minutes: 70
Expand Down Expand Up @@ -262,7 +254,7 @@ jobs:
runs-on: ubuntu-22.04
if: always()
needs:
- filter-changes
# - filter-changes
- systest-gke
timeout-minutes: 20
permissions:
Expand Down Expand Up @@ -299,12 +291,12 @@ jobs:
systest-status:
if: always()
needs:
- filter-changes
# - filter-changes
- systest-gke
runs-on: ubuntu-22.04
env:
# short-circuit success if no non-doc files were modified
status: ${{ (needs.filter-changes.outputs.nondocchanges == 'false' || needs.systest-gke.result == 'success') && 'success' || 'failure' }}
status: ${{ (needs.systest-gke.result == 'success') && 'success' || 'failure' }}
steps:
- name: Mark the job as succeeded
if: env.status == 'success'
Expand Down

0 comments on commit e589a1f

Please sign in to comment.