Skip to content

Commit 097849d

Browse files
committed
move them to infra tests
Signed-off-by: Tarun Pothulapati <[email protected]>
1 parent af00881 commit 097849d

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.werft/installer-tests.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ const TEST_CONFIGURATIONS: { [name: string]: TestConfig } = {
9999
DESCRIPTION: `${op} an EKS cluster(version ${k8s_version})`,
100100
PHASES: [
101101
"STANDARD_EKS_CLUSTER",
102+
"CALICO",
102103
"CERT_MANAGER",
103104
"EXTERNALDNS",
104105
"CLUSTER_ISSUER",
@@ -168,6 +169,11 @@ const INFRA_PHASES: { [name: string]: InfraConfig } = {
168169
makeTarget: "external-dns",
169170
description: `Deploys external-dns with ${cloud} provider`,
170171
},
172+
CALICO: {
173+
phase: "calico",
174+
makeTarget: "calico",
175+
description: `Deploys Calico`,
176+
},
171177
ADD_NS_RECORD: {
172178
phase: "add-ns-record",
173179
makeTarget: "add-ns-record",

install/tests/Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,15 @@ k3s-standard-cluster: check-env-cluster-version
180180
@echo "Done creating k3s cluster"
181181

182182
.PHONY:
183-
## cert-manager: Installs cert-manager, optionally create secret for cloud-dns access
184-
cert-manager:
183+
## aws-calico: Installs aws-calico
184+
calico:
185185
$(MAKE) select-workspace && \
186+
terraform apply -target=module.calico -var kubeconfig=${KUBECONFIG} --auto-approve
187+
@echo "Done installing Calico"
188+
189+
.PHONY:
190+
## cert-manager: Installs cert-manager, optionally create secret for cloud-dns access
191+
cert-manager: check-env-cloud select-workspace
186192
terraform apply -target=module.certmanager -var kubeconfig=${KUBECONFIG} --auto-approve
187193
@echo "Done installing cert-manager"
188194

0 commit comments

Comments
 (0)