[v2.9] k8s October 2024 patches (#1532) #408
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Provisioning tests | |
on: | |
push: | |
branches: | |
- 'dev-v*' | |
- 'release-v*' | |
pull_request: | |
branches: | |
- 'dev-v*' | |
- 'release-v*' | |
jobs: | |
provisioning-test: | |
permissions: | |
contents: read | |
runs-on: runs-on,runner=4cpu-linux-x64,image=legacy-cgroups-for-x64,run-id=${{ github.run_id }} | |
container: | |
image: rancher/dapper:v0.6.0 | |
options: --privileged | |
timeout-minutes: 90 | |
strategy: | |
fail-fast: false | |
matrix: | |
dist: [rke2, k3s] | |
k8s-minor: [27, 28, 29, 30] | |
test-regex: ["^Test_Provisioning_.*$", "^Test_Operation_SetA_.*$", "^Test_Operation_SetB_.*$"] | |
steps: | |
- name: Force Install GIT latest | |
run: | | |
apk add git --update-cache | |
git --version | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: "0" | |
- name: Provisioning Operations tests | |
run: | | |
dapper provisioning-tests | |
env: | |
V2PROV_TEST_DIST: ${{ matrix.dist }} | |
V2PROV_TEST_RUN_REGEX: ${{ matrix.test-regex }} | |
KDM_TEST_K8S_MINOR: ${{ matrix.k8s-minor }} | |
PREV_COMMIT_PR_SHA: ${{ github.event.pull_request.base.sha }} | |
PREV_COMMIT_PUSH_SHA: ${{ github.event.before }} |