chore: protect external runtime connection settings
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Failing after 16s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 54s

This commit is contained in:
2026-07-12 12:19:34 +09:00
parent a7f9b27a55
commit 606664404b
6 changed files with 58 additions and 14 deletions
+1 -8
View File
@@ -205,14 +205,7 @@ jobs:
exit 1
fi
echo "✓ DLL verified"
# Production connection settings must come from the service
# EnvironmentFile, never from a versioned appsettings file.
SERVICE_ENV=$(sudo systemctl show "$SERVICE_NAME" -p EnvironmentFiles --value 2>/dev/null || true)
if [ -z "$SERVICE_ENV" ]; then
echo "ERROR: $SERVICE_NAME has no EnvironmentFile; database credentials are not configured"
exit 1
fi
echo "✓ External service environment configured"
echo "✓ Runtime configuration is managed outside the release artifact"
# 3. Update Symlink
echo ""