From 3d7fd7eb01580633ccd52038c7fb5522266f4f2b Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Tue, 26 Mar 2024 22:58:42 +0000 Subject: [PATCH] chore: Set Github Actions PostgreSQL password --- .github/actions/cache-db/action.yml | 2 +- .github/workflows/e2e-app-store.yml | 1 + .github/workflows/e2e-embed-react.yml | 1 + .github/workflows/e2e-embed.yml | 1 + .github/workflows/e2e.yml | 1 + .github/workflows/production-build.yml | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/cache-db/action.yml b/.github/actions/cache-db/action.yml index f3fca58f9a..6931d193e2 100644 --- a/.github/actions/cache-db/action.yml +++ b/.github/actions/cache-db/action.yml @@ -3,7 +3,7 @@ description: "Cache or restore if necessary" inputs: DATABASE_URL: required: false - default: "postgresql://postgres:@localhost:5432/calendso" + default: "postgresql://postgres:postgres@localhost:5432/calendso" path: required: false default: "backups/backup.sql" diff --git a/.github/workflows/e2e-app-store.yml b/.github/workflows/e2e-app-store.yml index 65c70bbdd5..c652a81c16 100644 --- a/.github/workflows/e2e-app-store.yml +++ b/.github/workflows/e2e-app-store.yml @@ -16,6 +16,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- --health-cmd pg_isready diff --git a/.github/workflows/e2e-embed-react.yml b/.github/workflows/e2e-embed-react.yml index 17e3da103b..6a1c9f359a 100644 --- a/.github/workflows/e2e-embed-react.yml +++ b/.github/workflows/e2e-embed-react.yml @@ -16,6 +16,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- --health-cmd pg_isready diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.yml index 8a330abd0a..7c757aec19 100644 --- a/.github/workflows/e2e-embed.yml +++ b/.github/workflows/e2e-embed.yml @@ -16,6 +16,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- --health-cmd pg_isready diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 67ec57df14..c4057f8ad0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -16,6 +16,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- --health-cmd pg_isready diff --git a/.github/workflows/production-build.yml b/.github/workflows/production-build.yml index eff776b563..3f58b9c637 100644 --- a/.github/workflows/production-build.yml +++ b/.github/workflows/production-build.yml @@ -48,6 +48,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- --health-cmd pg_isready