Skip to content

Commit

Permalink
Clean up local-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mfraezz committed Sep 18, 2024
1 parent f2e58ec commit 4eefa52
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_PASSWORD: ${{ env.OSF_DB_PASSWORD }}
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand All @@ -66,7 +66,7 @@ jobs:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_PASSWORD: ${{ env.OSF_DB_PASSWORD }}
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand All @@ -93,7 +93,7 @@ jobs:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_PASSWORD: ${{ env.OSF_DB_PASSWORD }}
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_PASSWORD: ${{ env.OSF_DB_PASSWORD }}
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
image: postgres

env:
POSTGRES_PASSWORD: postgres
POSTGRES_PASSWORD: ${{ env.OSF_DB_PASSWORD }}
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand Down
2 changes: 1 addition & 1 deletion api/base/settings/local-ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ENABLE_VARNISH = True
ENABLE_ESI = False

OSF_DB_PASSWORD = 'postgres'
OSF_DB_PASSWORD = os.environ.get('OSF_DB_PASSWORD')

SESSION_ENGINE = 'django.contrib.sessions.backends.db'

Expand Down
2 changes: 1 addition & 1 deletion website/settings/local-ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import os

DB_PORT = 5432
OSF_DB_PASSWORD = 'postgres'
OSF_DB_PASSWORD = os.environ.get('OSF_DB_PASSWORD')

DEV_MODE = True
DEBUG_MODE = True # Sets app to debug mode, turns off template caching, etc.
Expand Down

0 comments on commit 4eefa52

Please sign in to comment.