Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 25 additions & 12 deletions .github/workflows/provisioning-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,47 @@ jobs:
- runs-on
- spot=false
- 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: [33, 34]
k8s-minor: [33, 34, 35]
test-regex: ["^Test_Provisioning_.*$", "^Test_Operation_SetA_.*$", "^Test_Operation_SetB_.*$"]
env:
# this is due to the dapper pod having a host-port on the registry-cache container
# we can hit this registry from dapper OR the host docker if we use the docker IP
REGISTRY: "172.17.0.2:5000"
steps:
- name: Force Install GIT latest
- name: debugging
run: |
apk add git --update-cache
git --version
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Checkout code
uses: actions/checkout@v4
grep " /sys" /proc/mounts
uname -a

- name: Checkout
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
fetch-depth: "0"
- name: testdata
run: mkdir -p build/testdata
- name: Install Dapper
run: |
curl -sL https://releases.rancher.com/dapper/latest/dapper-$(uname -s)-$(uname -m) > ./.dapper
chmod +x ./.dapper
- name: Configure Docker for cgroupfs/insecure-registry
run: |
echo '{"insecure-registries": ["172.17.0.2:5000"]}' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker
sudo docker info
- name: Provisioning Operations tests
run: |
dapper provisioning-tests
./.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 }}
GIT_URL: https://github.com/thatmidwesterncoder/rancher.git
GIT_BRANCH: change_default_v2prov_test_systemd_node_image
50 changes: 50 additions & 0 deletions channels-rke2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4465,3 +4465,53 @@ releases:
agentArgs: &agentArgsv1-34-2-rke2r1
<<: *agentArgsv1-34-1-rke2r1
featureVersions: *featureVersions-v1
- version: v1.35.0+rke2r1
minChannelServerVersion: v2.13.0-alpha1
maxChannelServerVersion: v2.14.99
charts: &chartsv1-35-0-rke2r1
<<: *chartsv1-34-2-rke2r1
rancher-vsphere-cpi:
repo: rancher-rke2-charts
version: 1.13.000
rancher-vsphere-csi:
repo: rancher-rke2-charts
version: 3.6.0-rancher100
rke2-calico:
repo: rancher-rke2-charts
version: v3.31.200
rke2-calico-crd:
repo: rancher-rke2-charts
version: v3.31.200
rke2-canal:
repo: rancher-rke2-charts
version: v3.31.2-build2025120500
rke2-cilium:
repo: rancher-rke2-charts
version: 1.18.401
rke2-coredns:
repo: rancher-rke2-charts
version: 1.45.003
rke2-flannel:
repo: rancher-rke2-charts
version: v0.27.403
rke2-ingress-nginx:
repo: rancher-rke2-charts
version: 4.13.500
rke2-metrics-server:
repo: rancher-rke2-charts
version: 3.13.004
rke2-multus:
repo: rancher-rke2-charts
version: v4.2.305
rke2-traefik:
repo: rancher-rke2-charts
version: 37.4.001
rke2-traefik-crd:
repo: rancher-rke2-charts
version: 37.4.001
serverArgs: &serverArgsv1-35-0-rke2r1
<<: *serverArgsv1-34-2-rke2r1
agentArgs: &agentArgsv1-35-0-rke2r1
<<: *agentArgsv1-34-2-rke2r1
featureVersions: *featureVersions-v1

Loading