chore: Supress the failure in case DB url is not found in CI (#36796)

https://theappsmith.slack.com/archives/C0134BAVDB4/p1728541176951609
This commit is contained in:
Abhijeet 2024-10-10 13:19:22 +05:30 committed by GitHub
parent 4c58a98602
commit b16aaafa51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,7 +204,6 @@ jobs:
db_url=$(grep -oP 'APPSMITH_DB_URL=\K[^ ]+' cicontainerlocal/stacks/configuration/docker.env || echo "") db_url=$(grep -oP 'APPSMITH_DB_URL=\K[^ ]+' cicontainerlocal/stacks/configuration/docker.env || echo "")
if [[ -z "$db_url" ]]; then if [[ -z "$db_url" ]]; then
echo "::error::APPSMITH_DB_URL not found in the environment file" echo "::error::APPSMITH_DB_URL not found in the environment file"
exit 1
fi fi
if [[ $db_url == "postgresql"* ]]; then if [[ $db_url == "postgresql"* ]]; then
echo "Database type: Postgres. Ensure PostgreSQL-specific configurations are in place." echo "Database type: Postgres. Ensure PostgreSQL-specific configurations are in place."