Skip to content

Commit

Permalink
Rename Prisma password env
Browse files Browse the repository at this point in the history
  • Loading branch information
yhtMinceraft1010X committed Oct 12, 2023
1 parent ff5d3b1 commit e2a7b87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ env:
FIREBASE_AUTH_EMULATOR_HOST: "127:0:0:1:9099"
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CI_TOKEN }}
FIREBASE_SERVICE_ACCOUNT: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
PRISMA_DATABASE_URL: ${{ secrets.TEST_DATABASE_URL }}
DATABASE_PASSWORD: ${{ secrets.TEST_DATABASE_PASSWORD }}
PRISMA_DATABASE_URL: ${{ secrets.SYSTEMTEST_DATABASE_URL }}
PRISMA_DATABASE_PASSWORD: ${{ secrets.SYSTEMTEST_DATABASE_PASSWORD }}

jobs:
mainbuild:
Expand Down
4 changes: 2 additions & 2 deletions services/user-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ What this command does:

You need to pass in the following environment variables through the above-mentioned `.env`-type file:
```
DATABASE_URL="postgresql://postgres:${password}@localhost:5430/peerprepdb-user-service-systemtest?schema=public"
DATABASE_PASSWORD="${The password you want to pass in. This must match the password in the above variable}"
PRISMA_DATABASE_URL="postgresql://postgres:${password}@localhost:5430/peerprepdb-user-service-systemtest?schema=public"
PRISMA_DATABASE_PASSWORD="${The password you want to pass in. This must match the password in the above variable}"
```

If you want to run this in a CI workflow, run:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ services:
environment:
POSTGRES_USER: postgres
POSTGRES_DB: peerprepdb-user-service-systemtest
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_PASSWORD: ${PRISMA_DATABASE_PASSWORD}

0 comments on commit e2a7b87

Please sign in to comment.