From 6cd00636f4409a3731e03c584fde9f837d9774ba Mon Sep 17 00:00:00 2001 From: Paulo Vital Date: Thu, 14 Dec 2023 00:43:11 +0100 Subject: [PATCH] chore(ci+tests): Set PostgreSQL password. 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 --- .circleci/config.yml | 12 ++++++------ docker-compose.yml | 2 +- tests/helpers.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a2805e82d..c7ac84c11 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index a59bdef99..505fde2c3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,7 +45,7 @@ services: - 5432:5432 environment: POSTGRES_USER: root - POSTGRES_PASSWORD: '' + POSTGRES_PASSWORD: passw0rd POSTGRES_DB: circle_test rabbitmq: diff --git a/tests/helpers.py b/tests/helpers.py index 470522d42..c268c7214 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -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