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

Commit b1ece15

Browse files
authored
Merge pull request #551 from cprivitere/e2e-test-fixes
🐛 E2e-test-fixes
2 parents 1e02cf5 + b9dd05c commit b1ece15

14 files changed

+619
-119
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,13 @@ run-e2e-tests: $(KUSTOMIZE) $(GINKGO) $(E2E_CONF_FILE) e2e-test-templates $(if $
162162
cd test/e2e; time $(GINKGO) -v --trace --tags=e2e \
163163
--randomize-all -race $(GINKGO_ADDITIONAL_ARGS) \
164164
--focus=$(GINKGO_FOCUS) --skip=$(GINKGO_SKIP) \
165-
-nodes=$(GINKGO_NODES) --no-color=$(GINKGO_NOCOLOR) \
165+
--nodes=$(GINKGO_NODES) --no-color=$(GINKGO_NOCOLOR) \
166166
--output-dir="$(ARTIFACTS)" --junit-report="junit.e2e_suite.1.xml" \
167167
--flake-attempts=$(GINKGO_FLAKE_ATTEMPTS) ./ -- \
168168
-e2e.artifacts-folder="$(ARTIFACTS)" \
169169
-e2e.config="$(E2E_CONF_FILE)" \
170170
-e2e.skip-resource-cleanup=$(SKIP_CLEANUP) \
171-
-e2e.use-existing-cluster=$(SKIP_CREATE_MGMT_CLUSTER)
171+
-e2e.use-existing-cluster=$(SKIP_CREATE_MGMT_CLUSTER)
172172

173173
.PHONY: test-e2e-conformance
174174
test-e2e-conformance:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You should then follow the [Cluster API Quick Start Guide](https://cluster-api.s
3434

3535
If you do not change the generated `yaml` files, it will use defaults. You can look in the [templates/cluster-template.yaml](./templates/cluster-template.yaml) file for details.
3636

37-
* `CPEM_VERSION` (defaults to `v3.5.0`)
37+
* `CPEM_VERSION` (defaults to `v3.6.0`)
3838
* `KUBE_VIP_VERSION` (defaults to `v0.5.0`)
3939
* `NODE_OS` (defaults to `ubuntu_22_04`)
4040
* `POD_CIDR` (defaults to `192.168.0.0/16`)

clusterctl-settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "infrastructure-packet",
33
"config": {
44
"componentsFile": "infrastructure-components.yaml",
5-
"nextVersion": "v0.6.99"
5+
"nextVersion": "v0.7.99"
66
}
77
}
88

templates/addons/calico.yaml

Lines changed: 565 additions & 39 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- https://docs.projectcalico.org/v3.20/manifests/calico.yaml
4+
- https://docs.projectcalico.org/v3.25/manifests/calico.yaml
55
images:
66
- name: docker.io/calico/kube-controllers
77
newName: quay.io/calico/kube-controllers
88
- name: docker.io/calico/node
99
newName: quay.io/calico/node
1010
- name: docker.io/calico/cni
1111
newName: quay.io/calico/cni
12-
- name: docker.io/calico/pod2daemon-flexvol
13-
newName: quay.io/calico/pod2daemon-flexvol

templates/cluster-template-crs-cni.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ spec:
164164
echo "complete -o default -F __start_kubectl k" >> $HOME/.bashrc
165165
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
166166
export KUBECONFIG=/etc/kubernetes/admin.conf
167-
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.5.0}/deployment.yaml
167+
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.6.0}/deployment.yaml
168168
export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}", "eipTag": "cluster-api-provider-packet:cluster-id:${CLUSTER_NAME}", "eipHealthCheckUseHostIP": true}'''
169169
kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}" || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}") || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}")
170170
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})

templates/cluster-template-kube-vip-crs-cni.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ spec:
157157
echo "complete -o default -F __start_kubectl k" >> $HOME/.bashrc
158158
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
159159
export KUBECONFIG=/etc/kubernetes/admin.conf
160-
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.5.0}/deployment.yaml
160+
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.6.0}/deployment.yaml
161161
export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}", "loadbalancer": "kube-vip://", "facility": "${FACILITY}"}'''
162162
kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}" || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}") || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}")
163163
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})

templates/cluster-template-kube-vip.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ spec:
136136
echo "complete -o default -F __start_kubectl k" >> $HOME/.bashrc
137137
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
138138
export KUBECONFIG=/etc/kubernetes/admin.conf
139-
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.5.0}/deployment.yaml
139+
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.6.0}/deployment.yaml
140140
export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}", "loadbalancer": "kube-vip://", "facility": "${FACILITY}"}'''
141141
kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}" || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}") || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}")
142142
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})

templates/cluster-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ spec:
8989
echo "complete -o default -F __start_kubectl k" >> $HOME/.bashrc
9090
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
9191
export KUBECONFIG=/etc/kubernetes/admin.conf
92-
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.5.0}/deployment.yaml
92+
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.6.0}/deployment.yaml
9393
export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}", "eipTag": "cluster-api-provider-packet:cluster-id:${CLUSTER_NAME}", "eipHealthCheckUseHostIP": true}'''
9494
kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}" || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}") || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}")
9595
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})

templates/experimental-kube-vip/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ patches:
8383
echo "complete -o default -F __start_kubectl k" >> $HOME/.bashrc
8484
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
8585
export KUBECONFIG=/etc/kubernetes/admin.conf
86-
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.5.0}/deployment.yaml
86+
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.6.0}/deployment.yaml
8787
export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}", "loadbalancer": "kube-vip://", "facility": "${FACILITY}"}'''
8888
kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}" || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}") || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}")
8989
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})

0 commit comments

Comments
 (0)