about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-30 19:10:06 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-30 19:10:06 +0200
commit4b2f08dd76629fe1be5bf05749e7284bf558fff6 (patch)
tree9c772b08ef0789667f8ea92fac35e28cd989b194
parentrest-api: change route to /api/v1/file/ (diff)
downloadfs-tracer-backend-4b2f08dd76629fe1be5bf05749e7284bf558fff6.tar.gz
fs-tracer-backend-4b2f08dd76629fe1be5bf05749e7284bf558fff6.tar.bz2
fs-tracer-backend-4b2f08dd76629fe1be5bf05749e7284bf558fff6.zip
misc: Check for DB_PASSWORD in deploy script
-rwxr-xr-xdeploy.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
index 58fce0e..0cd86da 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,4 +1,9 @@
 #!/bin/sh
 
+if [ -z "$DB_PASSWORD" ]; then
+  echo "DB_PASSWORD is not set"
+  exit 1
+fi
+
 bazel run //k8s/rest-api:chart.upgrade
 bazel run //k8s/payload-processor:chart.upgrade