Skip to content

Commit 259a359

Browse files
committed
(DROPME) changes for testing PR
Signed-off-by: Maksim Fedotov <maksim.fedotov@flant.com>
1 parent a45a055 commit 259a359

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/e2e-matrix.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@ name: E2E Matrix Tests (nested clusters)
1616

1717
on:
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

2228
concurrency:
2329
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
@@ -29,6 +35,7 @@ defaults:
2935

3036
jobs:
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 }}

.github/workflows/e2e-reusable-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,8 @@ jobs:
12751275
echo $SUMMARY > "${summary_file_name_json}"
12761276
12771277
echo "[INFO] Exit code: $GINKGO_EXIT_CODE"
1278-
exit $GINKGO_EXIT_CODE
1278+
# exit $GINKGO_EXIT_CODE
1279+
exit 0
12791280
- name: Upload summary test results (junit/xml)
12801281
uses: actions/upload-artifact@v4
12811282
id: e2e-report-artifact

0 commit comments

Comments
 (0)