Skip to content

Commit c255f12

Browse files
authored
Support for CAPI v1.11 (#386)
Signed-off-by: Andrea Mazzotti <[email protected]>
1 parent 8d70029 commit c255f12

File tree

17 files changed

+818
-791
lines changed

17 files changed

+818
-791
lines changed

.github/workflows/ci.yaml

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
strategy:
3232
matrix:
3333
include:
34-
- kube_version: "1.31.4"
35-
display_name: "stable"
3634
- kube_version: "1.32.0"
35+
display_name: "stable"
36+
- kube_version: "1.34.0"
3737
display_name: "latest"
3838
env:
3939
KUBE_VERSION: ${{ matrix.kube_version }}
@@ -44,7 +44,7 @@ jobs:
4444
uses: helm/kind-action@v1
4545
with:
4646
install_only: true
47-
version: v0.26.0
47+
version: v0.29.0
4848
- uses: actions/checkout@v4
4949
- name: Test (Cluster Class) - ${{ matrix.display_name }}
5050
run: just test-cluster-class-import
@@ -64,9 +64,9 @@ jobs:
6464
strategy:
6565
matrix:
6666
include:
67-
- kube_version: "1.31.4"
68-
display_name: "stable"
6967
- kube_version: "1.32.0"
68+
display_name: "stable"
69+
- kube_version: "1.34.0"
7070
display_name: "latest"
7171
env:
7272
KUBE_VERSION: ${{ matrix.kube_version }}
@@ -77,7 +77,7 @@ jobs:
7777
uses: helm/kind-action@v1
7878
with:
7979
install_only: true
80-
version: v0.26.0
80+
version: v0.29.0
8181
- uses: actions/checkout@v4
8282
- name: Test (Import) - ${{ matrix.display_name }}
8383
run: just test-import
@@ -90,39 +90,41 @@ jobs:
9090
with:
9191
name: artifacts-import-${{ matrix.display_name }}
9292
path: _out/gather
93-
94-
test-e2e-import-rke2:
95-
name: test-e2e-import-rke2 ${{ matrix.display_name }}
96-
runs-on: ubuntu-latest
97-
strategy:
98-
matrix:
99-
include:
100-
- kube_version: "1.31.4"
101-
display_name: "stable"
102-
- kube_version: "1.32.0"
103-
display_name: "latest"
104-
env:
105-
KUBE_VERSION: ${{ matrix.kube_version }}
106-
steps:
107-
- name: Install just
108-
run: cargo install just
109-
- name: Install kind
110-
uses: helm/kind-action@v1
111-
with:
112-
install_only: true
113-
version: v0.26.0
114-
- uses: actions/checkout@v4
115-
- name: Test (Import RKE2) - ${{ matrix.display_name }}
116-
run: just test-import-rke2
117-
- name: Collect artifacts
118-
if: always()
119-
run: just collect-test-import
120-
- name: Store run artifacts
121-
uses: actions/upload-artifact@v4
122-
if: always()
123-
with:
124-
name: artifacts-import-rke2-${{ matrix.display_name }}
125-
path: _out/gather
93+
#
94+
# CAPRKE2 missing CAPI v1.11 support
95+
#
96+
# test-e2e-import-rke2:
97+
# name: test-e2e-import-rke2 ${{ matrix.display_name }}
98+
# runs-on: ubuntu-latest
99+
# strategy:
100+
# matrix:
101+
# include:
102+
# - kube_version: "1.32.0"
103+
# display_name: "stable"
104+
# - kube_version: "1.34.0"
105+
# display_name: "latest"
106+
# env:
107+
# KUBE_VERSION: ${{ matrix.kube_version }}
108+
# steps:
109+
# - name: Install just
110+
# run: cargo install just
111+
# - name: Install kind
112+
# uses: helm/kind-action@v1
113+
# with:
114+
# install_only: true
115+
# version: v0.29.0
116+
# - uses: actions/checkout@v4
117+
# - name: Test (Import RKE2) - ${{ matrix.display_name }}
118+
# run: just test-import-rke2
119+
# - name: Collect artifacts
120+
# if: always()
121+
# run: just collect-test-import
122+
# - name: Store run artifacts
123+
# uses: actions/upload-artifact@v4
124+
# if: always()
125+
# with:
126+
# name: artifacts-import-rke2-${{ matrix.display_name }}
127+
# path: _out/gather
126128

127129
clippy:
128130
runs-on: ubuntu-latest

.github/workflows/update-metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
env:
2525
REPO_DIR: $GITHUB_WORKSPACE
2626
run: |
27-
go run main.go --contract v1beta1 --repo-dir "${{ github.workspace }}"
27+
go run main.go --contract v1beta2 --repo-dir "${{ github.workspace }}"
2828
2929
- name: Check for changes
3030
id: git-check

0 commit comments

Comments
 (0)