Skip to content

Commit

Permalink
fix: env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 19, 2023
1 parent cabefba commit 25d6e87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 31 deletions.
17 changes: 0 additions & 17 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
20 changes: 6 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 25d6e87

Please sign in to comment.