Skip to content

Commit

Permalink
chore(ci+tests): Set PostgreSQL password.
Browse files Browse the repository at this point in the history
Following the necessary requirements for the most recent versions of the
PostgreSQL, let's set a simple and dummy password.

Signed-off-by: Paulo Vital <[email protected]>
  • Loading branch information
pvital committed Dec 18, 2023
1 parent b03f6bb commit 6cd0063
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
- image: cimg/postgres:9.6.24
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: ''
POSTGRES_PASSWORD: passw0rd
POSTGRES_DB: circle_test
- image: cimg/mariadb:10.11.2
- image: cimg/redis:5.0.14
Expand All @@ -144,7 +144,7 @@ jobs:
- image: cimg/postgres:9.6.24
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: ''
POSTGRES_PASSWORD: passw0rd
POSTGRES_DB: circle_test
- image: cimg/mariadb:10.11.2
- image: cimg/redis:5.0.14
Expand All @@ -169,7 +169,7 @@ jobs:
- image: cimg/postgres:9.6.24
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: ''
POSTGRES_PASSWORD: passw0rd
POSTGRES_DB: circle_test
- image: cimg/mariadb:10.11.2
- image: cimg/redis:5.0.14
Expand All @@ -194,7 +194,7 @@ jobs:
- image: cimg/postgres:9.6.24
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: ''
POSTGRES_PASSWORD: passw0rd
POSTGRES_DB: circle_test
- image: cimg/mariadb:10.11.2
- image: cimg/redis:5.0.14
Expand All @@ -220,7 +220,7 @@ jobs:
- image: cimg/postgres:9.6.24
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: ''
POSTGRES_PASSWORD: passw0rd
POSTGRES_DB: circle_test
- image: cimg/mariadb:10.11.2
- image: cimg/redis:5.0.14
Expand All @@ -246,7 +246,7 @@ jobs:
- image: cimg/postgres:9.6.24
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: ''
POSTGRES_PASSWORD: passw0rd
POSTGRES_DB: circle_test
- image: cimg/mariadb:10.11.2
- image: cimg/redis:5.0.14
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ services:
- 5432:5432
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: ''
POSTGRES_PASSWORD: passw0rd
POSTGRES_DB: circle_test

rabbitmq:
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
testenv['postgresql_port'] = int(os.environ.get('POSTGRES_PORT', '5432'))
testenv['postgresql_db'] = os.environ.get('POSTGRES_DB', 'circle_test')
testenv['postgresql_user'] = os.environ.get('POSTGRES_USER', 'root')
testenv['postgresql_pw'] = os.environ.get('POSTGRES_PW', '')
testenv['postgresql_pw'] = os.environ.get('POSTGRES_PW', 'passw0rd')

"""
Redis Environment
Expand Down

0 comments on commit 6cd0063

Please sign in to comment.