This is an automated email from the ASF dual-hosted git repository.

pbacsko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git


The following commit(s) were added to refs/heads/master by this push:
     new 25250e6e [YUNIKORN-3107] Decrease K8s versions in e2e test matrix and 
disable tests for plugin mode (#980)
25250e6e is described below

commit 25250e6e0830a8c4d5596e8c957caf72c7b94da3
Author: Michael Chu <[email protected]>
AuthorDate: Mon Aug 4 15:30:38 2025 +0200

    [YUNIKORN-3107] Decrease K8s versions in e2e test matrix and disable tests 
for plugin mode (#980)
    
    Closes: #980
    
    Signed-off-by: Peter Bacsko <[email protected]>
---
 .github/workflows/pre-commit.yml                   | 12 +-----
 .../workflows/{pre-commit.yml => weekly-e2e.yml}   | 46 +++-------------------
 2 files changed, 7 insertions(+), 51 deletions(-)

diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index ecbbb612..3db2dfc9 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -52,15 +52,8 @@ jobs:
             v1.33.1,
             v1.32.2,
             v1.31.6,
-            v1.30.10,
-            v1.29.14,
-            v1.28.15,
-            v1.27.16,
-            v1.26.15,
-            v1.25.16,
             v1.24.17,
           ]
-        plugin: ["", "--plugin"]
     steps:
       - name: Checkout source code
         uses: actions/checkout@v4
@@ -84,13 +77,12 @@ jobs:
           key: ${{ runner.os }}-e2e-${{ hashFiles('Makefile') }}
           restore-keys: |
             ${{ runner.os }}-e2e-
-      - run: ./scripts/run-e2e-tests.sh -a "test" -n "yk8s" -v 
"kindest/node:${KIND_NODE_IMAGE}" ${KIND_EXTRA_ARGS}
+      - run: ./scripts/run-e2e-tests.sh -a "test" -n "yk8s" -v 
"kindest/node:${KIND_NODE_IMAGE}"
         env:
           KIND_NODE_IMAGE: ${{ matrix.k8s }}
-          KIND_EXTRA_ARGS: ${{ matrix.plugin }}
       - name: Upload artifacts
         uses: actions/upload-artifact@v4
         if: ${{ failure() }}
         with:
-          name: ${{ github.job }} stdout (${{ matrix.k8s }}${{ matrix.plugin 
== '--plugin' && format(', {0}', matrix.plugin) || matrix.plugin }})
+          name: ${{ github.job }} stdout (${{ matrix.k8s }})
           path: build/e2e
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/weekly-e2e.yml
similarity index 55%
copy from .github/workflows/pre-commit.yml
copy to .github/workflows/weekly-e2e.yml
index ecbbb612..b7bde2e8 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/weekly-e2e.yml
@@ -1,48 +1,12 @@
-name: Pre-commit checks
+name: Weekly K8s intermediate versions e2e test
 
 on:
-  pull_request:
-    branches:
-      - master
-  workflow_dispatch: {}
-
-concurrency:
-  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
-  cancel-in-progress: true
+    schedule:
+      - cron: '0 0 * * 0' # Every Sunday at 00:00 UTC
+    workflow_dispatch: {}
 
 jobs:
-  build:
-    runs-on: ubuntu-latest
-    steps:
-      - name: Checkout source code
-        uses: actions/checkout@v4
-        with:
-          fetch-depth: 2
-      - name: Set up Go
-        uses: actions/setup-go@v5
-        with:
-          go-version-file: .go_version
-      - name: Check license
-        run: make license-check
-      - name: Go lint
-        run: make lint
-      - name: Run Version Check
-        run: make pseudo
-      - name: Run ShellCheck
-        run: make check_scripts
-      - name: Unit tests
-        run: make test
-      - name: Code coverage
-        uses: codecov/codecov-action@v4
-        with:
-          files: build/coverage.txt
-          # After codecov/codecov-action@v4, tokenless uploading of coverage 
files to non-public repo is unsupported.
-          # To enable codecov analysis in your forked repo. Please configure 
CODECOV_TOKEN in your repository secrets.
-          # Ref: https://docs.codecov.com/docs/adding-the-codecov-token
-          token: ${{ secrets.CODECOV_TOKEN }}
-
-  e2e-tests:
-    needs: build
+  weekly-e2e:
     runs-on: ubuntu-latest
     strategy:
       fail-fast: false


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to