diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-30 19:10:06 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-30 19:10:06 +0200 |
commit | 4b2f08dd76629fe1be5bf05749e7284bf558fff6 (patch) | |
tree | 9c772b08ef0789667f8ea92fac35e28cd989b194 | |
parent | rest-api: change route to /api/v1/file/ (diff) | |
download | fs-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-x | deploy.sh | 5 |
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 |