PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
FIX (ci): Quote space-separated DSN values so .env is shell-sourceable
Rostislav Dugina48a52f0cf16
diff --git a/.env.example b/.env.exampleindex 5a383874..8e1ab969 100644--- a/.env.example+++ b/.env.example@@ -6,11 +6,11 @@ SHOW_DB_INSTALLATION_VERIFICATION_LOGS=trueDEV_DB_NAME=databasusDEV_DB_USERNAME=postgresDEV_DB_PASSWORD=Q1234567-DATABASE_DSN=host=localhost user=postgres password=Q1234567 dbname=databasus port=5437 sslmode=disable+DATABASE_DSN="host=localhost user=postgres password=Q1234567 dbname=databasus port=5437 sslmode=disable"DATABASE_URL=postgres://postgres:Q1234567@localhost:5437/databasus?sslmode=disable# test DB (used by backend when IsTesting=true so tests don't pollute the dev DB)-TEST_DATABASE_DSN=host=localhost user=postgres password=Q1234567 dbname=databasus port=5438 sslmode=disable+TEST_DATABASE_DSN="host=localhost user=postgres password=Q1234567 dbname=databasus port=5438 sslmode=disable"# migrationsGOOSE_DRIVER=postgresdiff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.ymlindex 23a2ba3b..3c5b5865 100644--- a/.github/workflows/ci-release.yml+++ b/.github/workflows/ci-release.yml@@ -263,10 +263,10 @@ jobs:cp .env.example .envcat >> .env << EOF# CI overrides — host=172.17.0.1 reaches host from container- DATABASE_DSN=host=172.17.0.1 user=postgres password=Q1234567 dbname=databasus port=5437 sslmode=disable+ DATABASE_DSN="host=172.17.0.1 user=postgres password=Q1234567 dbname=databasus port=5437 sslmode=disable"DATABASE_URL=postgres://postgres:[email protected]:5437/databasus?sslmode=disableGOOSE_DBSTRING=postgres://postgres:[email protected]:5437/databasus?sslmode=disable- TEST_DATABASE_DSN=host=172.17.0.1 user=postgres password=Q1234567 dbname=databasus port=5438 sslmode=disable+ TEST_DATABASE_DSN="host=172.17.0.1 user=postgres password=Q1234567 dbname=databasus port=5438 sslmode=disable"GOOSE_TEST_DBSTRING=postgres://postgres:[email protected]:5438/databasus?sslmode=disableTEST_LOCALHOST=172.17.0.1TEST_DB_HOST=172.17.0.1