@@ -16,8 +16,14 @@ name: E2E Matrix Tests (nested clusters)
1616
1717on :
1818 workflow_dispatch :
19- schedule :
20- - cron : " 40 4 * * *"
19+ pull_request :
20+ types : [opened, synchronize, reopened, labeled, unlabeled]
21+ branches :
22+ - main
23+ - chore/ci/add-nfs-to-nested-e2e
24+ # UNCOMMENT BEFORE MERGE
25+ # schedule:
26+ # - cron: "40 4 * * *"
2127
2228concurrency :
2329 group : " ${{ github.workflow }}-${{ github.event.number || github.ref }}"
@@ -29,6 +35,7 @@ defaults:
2935
3036jobs :
3137 cleanup-nested-clusters :
38+ if : github.event_name != 'pull_request'
3239 name : Cleanup nested clusters
3340 runs-on : ubuntu-latest
3441 steps :
@@ -100,6 +107,7 @@ jobs:
100107 cleanup_kind "vmclass"
101108
102109 power-off-vms-for-nested :
110+ if : github.event_name != 'pull_request'
103111 name : Power off VMs for nested clusters
104112 needs : cleanup-nested-clusters
105113 runs-on : ubuntu-latest
@@ -328,6 +336,7 @@ jobs:
328336 echo "randuuid4c=$(openssl rand -hex 2)" >> $GITHUB_OUTPUT
329337
330338 e2e-ceph :
339+ if : github.event_name != 'pull_request'
331340 name : E2E Pipeline (Ceph)
332341 needs :
333342 - set-vars
@@ -352,6 +361,7 @@ jobs:
352361 BOOTSTRAP_DEV_PROXY : ${{ secrets.BOOTSTRAP_DEV_PROXY }}
353362
354363 e2e-replicated :
364+ if : github.event_name != 'pull_request'
355365 name : E2E Pipeline (Replicated)
356366 needs :
357367 - set-vars
@@ -675,4 +685,4 @@ jobs:
675685 curl --request POST --header 'Content-Type: application/json' --data "{\"text\": \"${COMBINED_SUMMARY}\"}" "$LOOP_WEBHOOK_URL"
676686 fi
677687 env :
678- LOOP_WEBHOOK_URL : ${{ secrets.LOOP_WEBHOOK_URL }}
688+ LOOP_WEBHOOK_URL : ${{ secrets.LOOP_TEST_CHANNEL }}
0 commit comments