-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathpacket-ci-actions.yaml
114 lines (105 loc) · 4.64 KB
/
packet-ci-actions.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
---
# E2E test scenario using local dev images and manifests built from the source tree for following providers:
# - cluster-api
# - bootstrap kubeadm
# - control-plane kubeadm
# - packet
images:
- name: "${REGISTRY:=quay.io/equinix-oss}/${IMAGE_NAME:=cluster-api-provider-packet}:${TAG:=e2e}"
loadBehavior: mustLoad
providers:
- name: cluster-api
type: CoreProvider
versions:
- name: v1.7.4 # latest published release in the v1beta1 series
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.4/core-components.yaml"
type: "url"
contract: v1beta1
replacements:
- old: --metrics-addr=127.0.0.1:8080
new: --metrics-addr=:8080
files:
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
- name: kubeadm
type: BootstrapProvider
versions:
- name: v1.7.4 # latest published release in the v1beta1 series
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.4/bootstrap-components.yaml"
type: "url"
contract: v1beta1
replacements:
- old: --metrics-addr=127.0.0.1:8080
new: --metrics-addr=:8080
files:
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
- name: kubeadm
type: ControlPlaneProvider
versions:
- name: v1.7.4 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.4/control-plane-components.yaml"
type: "url"
contract: v1beta1
replacements:
- old: --metrics-addr=127.0.0.1:8080
new: --metrics-addr=:8080
files:
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
- name: packet
type: InfrastructureProvider
versions:
- name: v0.9.0 #latest in the v1beta1 series
value: "${MANIFEST_PATH:=..}/infrastructure-components.yaml"
type: "url"
contract: v1beta1
files:
- sourcePath: "${MANIFEST_PATH:=..}/metadata.yaml"
- sourcePath: "../data/v1beta1/cluster-template.yaml"
- sourcePath: "../data/v1beta1/cluster-template-emlb.yaml"
- sourcePath: "../data/v1beta1/cluster-template-kube-vip.yaml"
- sourcePath: "../data/v1beta1/cluster-template-kcp-scale-in.yaml"
- sourcePath: "../data/v1beta1/cluster-template-node-drain.yaml"
- sourcePath: "../data/v1beta1/cluster-template-md-remediation.yaml"
- sourcePath: "../data/v1beta1/cluster-template-kcp-remediation.yaml"
- name: v0.9.99 # next; use manifest from source files
value: "${MANIFEST_PATH:=..}/infrastructure-components.yaml"
type: "url"
contract: v1beta1
files:
- sourcePath: "${MANIFEST_PATH:=..}/metadata.yaml"
- sourcePath: "../data/v1beta1/cluster-template.yaml"
- sourcePath: "../data/v1beta1/cluster-template-emlb.yaml"
- sourcePath: "../data/v1beta1/cluster-template-kube-vip.yaml"
- sourcePath: "../data/v1beta1/cluster-template-kcp-scale-in.yaml"
- sourcePath: "../data/v1beta1/cluster-template-node-drain.yaml"
- sourcePath: "../data/v1beta1/cluster-template-md-remediation.yaml"
- sourcePath: "../data/v1beta1/cluster-template-kcp-remediation.yaml"
variables:
# Update to versions matching https://github.com/kubernetes-sigs/cluster-api/blob/v{VERSION}/test/e2e/config/docker.yaml
KUBERNETES_VERSION_MANAGEMENT: "v1.30.0"
KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.30.0}"
KUBERNETES_VERSION_UPGRADE_FROM: "v1.29.4"
KUBERNETES_VERSION_UPGRADE_TO: "v1.30.0"
ETCD_VERSION_UPGRADE_TO: "3.5.12-0"
COREDNS_VERSION_UPGRADE_TO: "v1.11.1"
# Infra provider specific variables
NODE_OS: "ubuntu_20_04"
POD_CIDR: "192.168.0.0/16"
SERVICE_CIDR: "172.26.0.0/16"
IP_FAMILY: "IPv4"
CNI: "${CNI_PATH:=../../templates/addons/calico.yaml}"
EXP_CLUSTER_RESOURCE_SET: "true"
EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION: "true"
KUBETEST_CONFIGURATION: "${KUBETEST_CONF_PATH:=./data/kubetest/conformance.yaml}"
NODE_DRAIN_TIMEOUT: "60s"
intervals:
default/wait-controllers: ["5m", "10s"]
default/wait-cluster: ["20m", "10s"]
default/wait-control-plane: ["30m", "10s"]
default/wait-worker-nodes: ["30m", "10s"]
default/wait-delete-cluster: ["20m", "10s"]
default/wait-machine-upgrade: ["120m", "10s"]
default/wait-nodes-ready: ["10m", "10s"]
default/wait-machine-remediation: ["30m", "10s"]
node-drain/wait-deployment-available: ["15m", "10s"]
node-drain/wait-control-plane: ["30m", "10s"]
node-drain/wait-machine-deleted: ["10m", "10s"]