Skip to content
Snippets Groups Projects
Commit 81da6145 authored by Neda Moeini's avatar Neda Moeini
Browse files

Fixed pipeline problem.

parent eccef5d9
No related branches found
No related tags found
No related merge requests found
Pipeline #83874 failed
...@@ -19,10 +19,10 @@ run-tox-pipeline: ...@@ -19,10 +19,10 @@ run-tox-pipeline:
# Change pip's cache directory to be inside the project directory since we can # Change pip's cache directory to be inside the project directory since we can
# only cache local items. # only cache local items.
variables: variables:
POSTGRES_DB: postgres POSTGRES_DB: gso-test-db
POSTGRES_USER: nwa POSTGRES_USER: gso
POSTGRES_PASSWORD: nwa POSTGRES_PASSWORD: gso
$DATABASE_URI_TEST: 'postgresql://nwa:nwa@postgres:5432/postgres' DATABASE_URI_TEST: 'postgresql://gso:gos@postgres:5432/gso-test-db'
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# Pip's cache doesn't store the python packages # Pip's cache doesn't store the python packages
......
...@@ -93,7 +93,7 @@ def data_config_filename(configuration_data) -> str: ...@@ -93,7 +93,7 @@ def data_config_filename(configuration_data) -> str:
def db_uri(): def db_uri():
"""Provide the database uri configuration to run the migration on.""" """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: def run_migrations(db_uri: str) -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment