Skip to content

Commit b8b2682

Browse files
committed
Adding refresh by default
1 parent b04b336 commit b8b2682

File tree

1 file changed

+18
-3
lines changed
  • install/infra/single-cluster/aws

1 file changed

+18
-3
lines changed

install/infra/single-cluster/aws/Makefile

+18-3
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,37 @@
66
init:
77
@terraform init
88

9+
touch-kubeconfig:
10+
@touch kubeconfig
11+
12+
cleanup-kubeconfig:
13+
@rm kubeconfig
14+
915
.PHONY: plan
10-
plan: plan-cluster plan-cm-edns
16+
plan: touch-kubeconfig plan-cluster plan-cm-edns cleanup-kubeconfig
1117

1218
.PHONY: apply
1319
apply: apply-cluster apply-tools
1420

1521
.PHONY: destroy
1622
destroy: destroy-tools destroy-cluster
1723

24+
.PHONY: refresh
25+
refresh:
26+
@echo "Refreshing terraform state"
27+
@terraform refresh
28+
@echo ""
29+
@echo "Done!"
30+
1831
.PHONY: output
19-
output: output-done-msg output-url output-nameservers output-registry output-database output-storage output-issuer
32+
output: refresh output-done-msg output-url output-nameservers output-registry output-database output-storage output-issuer
2033

2134
output-done-msg:
35+
@echo ""
36+
@echo ""
2237
@echo "=========================="
2338
@echo "🎉🥳🔥🧡🚀"
24-
@echo "Your cloud infrastructure is ready to install Gitpod. Please visit"
39+
@echo "Your AWS cloud infrastructure is ready to install Gitpod. Please visit"
2540
@echo "https://www.gitpod.io/docs/self-hosted/latest/getting-started#step-4-install-gitpod"
2641
@echo "for your next steps."
2742
@echo "================="

0 commit comments

Comments
 (0)