From 25d6e87001faa110246947f7b092b5f3c5865c74 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Tue, 19 Sep 2023 17:48:07 +0530 Subject: [PATCH] fix: env variables --- .env | 17 ----------------- .github/workflows/test.yml | 20 ++++++-------------- 2 files changed, 6 insertions(+), 31 deletions(-) diff --git a/.env b/.env index b2c94830..3e9e75cb 100644 --- a/.env +++ b/.env @@ -4,12 +4,6 @@ LEGACY_MYSQL_DATABASE=lucid LEGACY_MYSQL_PORT=3306 LEGACY_MYSQL_USER=virk -LEGACY_MYSQL_READ_REPLICA_HOST=localhost -LEGACY_MYSQL_READ_REPLICA_PASSWORD=secret -LEGACY_MYSQL_READ_REPLICA_DATABASE=lucid -LEGACY_MYSQL_READ_REPLICA_PORT=3307 -LEGACY_MYSQL_READ_REPLICA_USER=virk - MYSQL_HOST=localhost MYSQL_PASSWORD=secret MYSQL_DATABASE=lucid @@ -22,18 +16,7 @@ PG_DATABASE=lucid PG_PORT=5432 PG_USER=virk -PG_READ_REPLICA_HOST=localhost -PG_READ_REPLICA_PASSWORD=secret -PG_READ_REPLICA_DATABASE=lucid -PG_READ_REPLICA_PORT=5433 -PG_READ_REPLICA_USER=virk - MSSQL_HOST=localhost MSSQL_PASSWORD=secrearandom&233passwordt MSSQL_PORT=1433 MSSQL_USER=sa - -MSSQL_READ_REPLICA_HOST=localhost -MSSQL_READ_REPLICA_PASSWORD=secrearandom&233passwordt -MSSQL_READ_REPLICA_PORT=1434 -MSSQL_READ_REPLICA_USER=sa diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c0240802..052844d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,11 +35,9 @@ jobs: postgres: image: postgres:${{ matrix.postgres-version }} env: - PG_HOST: localhost - PG_PASSWORD: secret - PG_DATABASE: lucid - PG_PORT: 5432 - PG_USER: virk + POSTGRES_DB: lucid + POSTGRES_USER: virk + POSTGRES_PASSWORD: secret ports: - 5432:5432 steps: @@ -63,17 +61,11 @@ jobs: mysql: image: mysql:${{ matrix.mysql.version }} env: - MYSQL_HOST: localhost - MYSQL_PASSWORD: secret MYSQL_DATABASE: lucid - MYSQL_PORT: 3306 MYSQL_USER: virk - MYSQL_ROOT_PASSWORD: password - LEGACY_MYSQL_HOST: localhost - LEGACY_MYSQL_PASSWORD: secret - LEGACY_MYSQL_DATABASE: lucid - LEGACY_MYSQL_PORT: 3306 - LEGACY_MYSQL_USER: virk + MYSQL_PASSWORD: secret + MYSQL_ROOT_PASSWORD: secret + MYSQL_PORT: 3306 ports: - '3306:3306' steps: