We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76bc24f commit b90f557Copy full SHA for b90f557
template/Makefile.j2
@@ -150,9 +150,15 @@ build: regenerate-charts regenerate-nix helm-package docker-build
150
151
publish: docker-publish helm-publish
152
153
-run-dev:
+check-nix:
154
+ @which nix || (echo "Error: 'nix' is not installed. Please install it to proceed."; exit 1)
155
+
156
+check-kubernetes:
157
+ @kubectl cluster-info > /dev/null 2>&1 || (echo "Error: Kubernetes is not running or kubectl is not properly configured."; exit 1)
158
159
+run-dev: check-nix check-kubernetes
160
kubectl apply -f deploy/stackable-operators-ns.yaml
161
nix run -f. tilt -- up --port {[5430 + operator_index}] --namespace stackable-operators
162
-stop-dev:
163
+stop-dev: check-nix check-kubernetes
164
nix run -f. tilt -- down
0 commit comments