Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 0566db1

Browse files
committed
Update ci yamls to use latest versions of each series
Signed-off-by: Chris Privitere <[email protected]>
1 parent 4f5f7ee commit 0566db1

File tree

2 files changed

+42
-66
lines changed

2 files changed

+42
-66
lines changed

test/e2e/config/packet-ci-actions.yaml

Lines changed: 21 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ providers:
2222
new: --metrics-addr=:8080
2323
files:
2424
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
25-
- name: v0.4.4 # latest published release in the v1alpha4 series
26-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.4/core-components.yaml"
25+
- name: v0.4.8 # latest published release in the v1alpha4 series
26+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/core-components.yaml"
2727
type: "url"
2828
contract: v1alpha4
2929
replacements:
3030
- old: --metrics-addr=127.0.0.1:8080
3131
new: --metrics-addr=:8080
3232
files:
3333
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
34-
- name: v1.1.5 # latest published release in the v1beta1 series
35-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/core-components.yaml"
34+
- name: v1.3.6 # latest published release in the v1beta1 series
35+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.6/core-components.yaml"
3636
type: "url"
3737
contract: v1beta1
3838
replacements:
@@ -53,17 +53,17 @@ providers:
5353
new: --metrics-addr=:8080
5454
files:
5555
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
56-
- name: v0.4.4 # latest published release in the v1alpha4 series
57-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.4/bootstrap-components.yaml"
56+
- name: v0.4.8 # latest published release in the v1alpha4 series
57+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/bootstrap-components.yaml"
5858
type: "url"
5959
contract: v1alpha4
6060
replacements:
6161
- old: --metrics-addr=127.0.0.1:8080
6262
new: --metrics-addr=:8080
6363
files:
6464
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
65-
- name: v1.1.5 # latest published release in the v1beta1 series
66-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/bootstrap-components.yaml"
65+
- name: v1.3.6 # latest published release in the v1beta1 series
66+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.6/bootstrap-components.yaml"
6767
type: "url"
6868
contract: v1beta1
6969
replacements:
@@ -84,17 +84,17 @@ providers:
8484
new: --metrics-addr=:8080
8585
files:
8686
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
87-
- name: v0.4.4 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
88-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.4/control-plane-components.yaml"
87+
- name: v0.4.8 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
88+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/control-plane-components.yaml"
8989
type: "url"
9090
contract: v1alpha4
9191
replacements:
9292
- old: --metrics-addr=127.0.0.1:8080
9393
new: --metrics-addr=:8080
9494
files:
9595
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
96-
- name: v1.1.5 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
97-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/control-plane-components.yaml"
96+
- name: v1.3.6 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
97+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.6/control-plane-components.yaml"
9898
type: "url"
9999
contract: v1beta1
100100
replacements:
@@ -114,7 +114,7 @@ providers:
114114
# Add cluster templates
115115
- sourcePath: "../data/v1alpha3/cluster-template-packet-ccm.yaml"
116116
- sourcePath: "../data/v1alpha3/cluster-template-cpem.yaml"
117-
- name: v0.5.0
117+
- name: v0.6.2
118118
value: "${MANIFEST_PATH:=..}/infrastructure-components.yaml"
119119
type: "url"
120120
contract: v1beta1
@@ -125,18 +125,7 @@ providers:
125125
- sourcePath: "../data/v1beta1/cluster-template-node-drain.yaml"
126126
- sourcePath: "../data/v1beta1/cluster-template-md-remediation.yaml"
127127
- sourcePath: "../data/v1beta1/cluster-template-kcp-remediation.yaml"
128-
- name: v0.6.0
129-
value: "${MANIFEST_PATH:=..}/infrastructure-components.yaml"
130-
type: "url"
131-
contract: v1beta1
132-
files:
133-
- sourcePath: "${MANIFEST_PATH:=..}/metadata.yaml"
134-
- sourcePath: "../data/v1beta1/cluster-template.yaml"
135-
- sourcePath: "../data/v1beta1/cluster-template-kcp-scale-in.yaml"
136-
- sourcePath: "../data/v1beta1/cluster-template-node-drain.yaml"
137-
- sourcePath: "../data/v1beta1/cluster-template-md-remediation.yaml"
138-
- sourcePath: "../data/v1beta1/cluster-template-kcp-remediation.yaml"
139-
- name: v0.6.99 # next; use manifest from source files
128+
- name: v0.7.99 # next; use manifest from source files
140129
value: "${MANIFEST_PATH:=..}/infrastructure-components.yaml"
141130
type: "url"
142131
contract: v1beta1
@@ -150,12 +139,12 @@ providers:
150139
- sourcePath: "../data/v1beta1/cluster-template-kcp-remediation.yaml"
151140

152141
variables:
153-
KUBERNETES_VERSION_MANAGEMENT: "v1.24.0"
154-
KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.24.0}"
155-
KUBERNETES_VERSION_UPGRADE_FROM: "v1.23.6"
156-
KUBERNETES_VERSION_UPGRADE_TO: "v1.24.0"
157-
ETCD_VERSION_UPGRADE_TO: "3.5.3-0"
158-
COREDNS_VERSION_UPGRADE_TO: "v1.8.6"
142+
KUBERNETES_VERSION_MANAGEMENT: "v1.26.0"
143+
KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.26.0}"
144+
KUBERNETES_VERSION_UPGRADE_FROM: "v1.25.3"
145+
KUBERNETES_VERSION_UPGRADE_TO: "v1.26.0"
146+
ETCD_VERSION_UPGRADE_TO: "3.5.6-0"
147+
COREDNS_VERSION_UPGRADE_TO: "v1.9.3"
159148

160149
# Infra provider specific variables
161150
NODE_OS: "ubuntu_22_04"
@@ -175,7 +164,7 @@ variables:
175164
INIT_WITH_BINARY: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/clusterctl-{OS}-{ARCH}"
176165
# CAPI v0.3.x cannot be deployed on Kubernetes >= v1.22.
177166
INIT_WITH_PROVIDERS_CONTRACT: "v1alpha3"
178-
INIT_WITH_KUBERNETES_VERSION: "v1.21.2"
167+
INIT_WITH_KUBERNETES_VERSION: "v1.21.14"
179168

180169
intervals:
181170
default/wait-cluster: ["20m", "10s"]

test/e2e/config/packet-ci.yaml

Lines changed: 21 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ providers:
2222
new: --metrics-addr=:8080
2323
files:
2424
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
25-
- name: v0.4.4 # latest published release in the v1alpha4 series
26-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.4/core-components.yaml"
25+
- name: v0.4.8 # latest published release in the v1alpha4 series
26+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/core-components.yaml"
2727
type: "url"
2828
contract: v1alpha4
2929
replacements:
3030
- old: --metrics-addr=127.0.0.1:8080
3131
new: --metrics-addr=:8080
3232
files:
3333
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
34-
- name: v1.1.5 # latest published release in the v1beta1 series
35-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/core-components.yaml"
34+
- name: v1.3.6 # latest published release in the v1beta1 series
35+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.6/core-components.yaml"
3636
type: "url"
3737
contract: v1beta1
3838
replacements:
@@ -53,17 +53,17 @@ providers:
5353
new: --metrics-addr=:8080
5454
files:
5555
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
56-
- name: v0.4.4 # latest published release in the v1alpha4 series
57-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.4/bootstrap-components.yaml"
56+
- name: v0.4.8 # latest published release in the v1alpha4 series
57+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/bootstrap-components.yaml"
5858
type: "url"
5959
contract: v1alpha4
6060
replacements:
6161
- old: --metrics-addr=127.0.0.1:8080
6262
new: --metrics-addr=:8080
6363
files:
6464
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
65-
- name: v1.1.5 # latest published release in the v1beta1 series
66-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/bootstrap-components.yaml"
65+
- name: v1.3.6 # latest published release in the v1beta1 series
66+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.6/bootstrap-components.yaml"
6767
type: "url"
6868
contract: v1beta1
6969
replacements:
@@ -84,17 +84,17 @@ providers:
8484
new: --metrics-addr=:8080
8585
files:
8686
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
87-
- name: v0.4.4 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
88-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.4/control-plane-components.yaml"
87+
- name: v0.4.8 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
88+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.7/control-plane-components.yaml"
8989
type: "url"
9090
contract: v1alpha4
9191
replacements:
9292
- old: --metrics-addr=127.0.0.1:8080
9393
new: --metrics-addr=:8080
9494
files:
9595
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
96-
- name: v1.1.5 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
97-
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/control-plane-components.yaml"
96+
- name: v1.3.6 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
97+
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.6/control-plane-components.yaml"
9898
type: "url"
9999
contract: v1beta1
100100
replacements:
@@ -114,7 +114,7 @@ providers:
114114
# Add cluster templates
115115
- sourcePath: "../data/v1alpha3/cluster-template-packet-ccm.yaml"
116116
- sourcePath: "../data/v1alpha3/cluster-template-cpem.yaml"
117-
- name: v0.5.0 #latest in the v1beta1 series
117+
- name: v0.6.2 #latest in the v1beta1 series
118118
value: "../../../config/default"
119119
replacements:
120120
- old: "image: .*/cluster-api-provider-packet:.*"
@@ -127,20 +127,7 @@ providers:
127127
- sourcePath: "../data/v1beta1/cluster-template-node-drain.yaml"
128128
- sourcePath: "../data/v1beta1/cluster-template-md-remediation.yaml"
129129
- sourcePath: "../data/v1beta1/cluster-template-kcp-remediation.yaml"
130-
- name: v0.6.0 #latest in the v1beta1 series
131-
value: "../../../config/default"
132-
replacements:
133-
- old: "image: .*/cluster-api-provider-packet:.*"
134-
new: "image: ${REGISTRY:=ghcr.io}/${IMAGE_NAME:=kubernetes-sigs/cluster-api-provider-packet}:${TAG:=e2e}"
135-
contract: v1beta1
136-
files:
137-
- sourcePath: "../../../metadata.yaml"
138-
- sourcePath: "../data/v1beta1/cluster-template.yaml"
139-
- sourcePath: "../data/v1beta1/cluster-template-kcp-scale-in.yaml"
140-
- sourcePath: "../data/v1beta1/cluster-template-node-drain.yaml"
141-
- sourcePath: "../data/v1beta1/cluster-template-md-remediation.yaml"
142-
- sourcePath: "../data/v1beta1/cluster-template-kcp-remediation.yaml"
143-
- name: v0.6.99 # next; use manifest from source files
130+
- name: v0.7.99 # next; use manifest from source files
144131
value: "../../../config/default"
145132
replacements:
146133
- old: "image: .*/cluster-api-provider-packet:.*"
@@ -157,12 +144,12 @@ providers:
157144

158145
variables:
159146
# Update to versions matching https://github.com/kubernetes-sigs/cluster-api/blob/v{VERSION}/test/e2e/config/docker.yaml
160-
KUBERNETES_VERSION_MANAGEMENT: "v1.24.0"
161-
KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.24.0}"
162-
KUBERNETES_VERSION_UPGRADE_FROM: "v1.23.6"
163-
KUBERNETES_VERSION_UPGRADE_TO: "v1.24.0"
164-
ETCD_VERSION_UPGRADE_TO: "3.5.3-0"
165-
COREDNS_VERSION_UPGRADE_TO: "v1.8.6"
147+
KUBERNETES_VERSION_MANAGEMENT: "v1.26.0"
148+
KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.26.0}"
149+
KUBERNETES_VERSION_UPGRADE_FROM: "v1.25.3"
150+
KUBERNETES_VERSION_UPGRADE_TO: "v1.26.0"
151+
ETCD_VERSION_UPGRADE_TO: "3.5.6-0"
152+
COREDNS_VERSION_UPGRADE_TO: "v1.9.3"
166153

167154
# Infra provider specific variables
168155
NODE_OS: "ubuntu_22_04"
@@ -182,7 +169,7 @@ variables:
182169
INIT_WITH_BINARY: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/clusterctl-{OS}-{ARCH}"
183170
# CAPI v0.3.x cannot be deployed on Kubernetes >= v1.22.
184171
INIT_WITH_PROVIDERS_CONTRACT: "v1alpha3"
185-
INIT_WITH_KUBERNETES_VERSION: "v1.21.2"
172+
INIT_WITH_KUBERNETES_VERSION: "v1.21.14"
186173

187174
intervals:
188175
default/wait-cluster: ["20m", "10s"]

0 commit comments

Comments
 (0)