From 81da6145a8cdeda67be3367afe8bf808dc772270 Mon Sep 17 00:00:00 2001 From: Neda Moeini <neda.moeini@ga0479-nmoeini.home> Date: Tue, 22 Aug 2023 11:32:11 +0200 Subject: [PATCH] Fixed pipeline problem. --- .gitlab-ci.yml | 8 ++++---- test/conftest.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 356f21c11..5814fb2a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,10 +19,10 @@ run-tox-pipeline: # Change pip's cache directory to be inside the project directory since we can # only cache local items. variables: - POSTGRES_DB: postgres - POSTGRES_USER: nwa - POSTGRES_PASSWORD: nwa - $DATABASE_URI_TEST: 'postgresql://nwa:nwa@postgres:5432/postgres' + POSTGRES_DB: gso-test-db + POSTGRES_USER: gso + POSTGRES_PASSWORD: gso + DATABASE_URI_TEST: 'postgresql://gso:gos@postgres:5432/gso-test-db' PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" # Pip's cache doesn't store the python packages diff --git a/test/conftest.py b/test/conftest.py index 138adc0bb..626ea3fe1 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -93,7 +93,7 @@ def data_config_filename(configuration_data) -> str: def db_uri(): """Provide the database uri configuration to run the migration on.""" - return os.environ.get("DATABASE_URI_TEST", "postgresql://nwa:nwa@localhost/nwa-workflows-test") + return os.environ.get("DATABASE_URI_TEST", "postgresql://gso:gos@localhost/gso-test-db") def run_migrations(db_uri: str) -> None: -- GitLab