mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 00:49:42 -06:00
chore: clean-up new cache package (#6532)
This commit is contained in:
committed by
GitHub
parent
3879d86f63
commit
935e24bd43
@@ -6,7 +6,7 @@ if [ -f "/run/secrets/database_url" ]; then
|
||||
DATABASE_URL=${DATABASE_URL%$'\n'}
|
||||
export DATABASE_URL
|
||||
else
|
||||
echo "DATABASE_URL secret not found. Build may fail if this is required."
|
||||
echo "DATABASE_URL secret not found. Build will fail because it is required by the application."
|
||||
fi
|
||||
|
||||
if [ -f "/run/secrets/encryption_key" ]; then
|
||||
@@ -14,7 +14,15 @@ if [ -f "/run/secrets/encryption_key" ]; then
|
||||
ENCRYPTION_KEY=${ENCRYPTION_KEY%$'\n'}
|
||||
export ENCRYPTION_KEY
|
||||
else
|
||||
echo "ENCRYPTION_KEY secret not found. Build may fail if this is required."
|
||||
echo "ENCRYPTION_KEY secret not found. Build will fail because it is required by the application."
|
||||
fi
|
||||
|
||||
if [ -f "/run/secrets/redis_url" ]; then
|
||||
IFS= read -r REDIS_URL < /run/secrets/redis_url || true
|
||||
REDIS_URL=${REDIS_URL%$'\n'}
|
||||
export REDIS_URL
|
||||
else
|
||||
echo "REDIS_URL secret not found. Build will fail because it is required by the application."
|
||||
fi
|
||||
|
||||
if [ -f "/run/secrets/sentry_auth_token" ]; then
|
||||
@@ -39,6 +47,7 @@ fi
|
||||
# Verify environment variables are set before starting build
|
||||
echo " DATABASE_URL: $([ -n "${DATABASE_URL:-}" ] && printf '[SET]' || printf '[NOT SET]')"
|
||||
echo " ENCRYPTION_KEY: $([ -n "${ENCRYPTION_KEY:-}" ] && printf '[SET]' || printf '[NOT SET]')"
|
||||
echo " REDIS_URL: $([ -n "${REDIS_URL:-}" ] && printf '[SET]' || printf '[NOT SET]')"
|
||||
echo " SENTRY_AUTH_TOKEN: $([ -n "${SENTRY_AUTH_TOKEN:-}" ] && printf '[SET]' || printf '[NOT SET]')"
|
||||
echo " TARGETARCH: $([ -n "${TARGETARCH:-}" ] && printf '%s' "${TARGETARCH}" || printf '[NOT SET]')"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user