-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJustfile
36 lines (29 loc) · 969 Bytes
/
Justfile
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
up:
#!/usr/bin/env bash
if ! kind get clusters | grep -q "^gantry$"; then
echo "Creating new kind cluster 'gantry'..."
kind create cluster --name gantry
else
echo "Kind cluster 'gantry' already exists. Skipping creation."
fi
kubectl config use-context kind-gantry
down: clean
#!/usr/bin/env bash
if kind get clusters | grep -q "^gantry$"; then
echo "Deleting kind cluster 'gantry'..."
kind delete cluster --name gantry
else
echo "Kind cluster 'gantry' does not exist. Skipping deletion."
fi
build-chart:
SBT_NATIVE_CLIENT=true ./sbt "run helm build -o generated-chart"
install-chart: up
SBT_NATIVE_CLIENT=true ./sbt "run helm install"
uninstall-chart: up
helm uninstall test-application --wait
reinstall-chart: uninstall-chart install-chart
clean:
SBT_NATIVE_CLIENT=true ./sbt "clean"
rm -rf generated-chart
build:
SBT_NATIVE_CLIENT=true ./sbt "compile"