diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b268e88..84e7df5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -186,13 +186,13 @@ test-integration: - export TEST_TARGET=INTEGRATION - docker compose -f flights-domain/docker-compose.yml --env-file $ENV_DEV_FILE down - docker compose -f flights-domain/docker-compose.yml --env-file $ENV_DEV_FILE pull - - docker compose -f flights-domain/docker-compose.yml --env-file $ENV_DEV_FILE up --abort-on-container-exit + - docker compose -f flights-domain/docker-compose.yml --env-file $ENV_DEV_FILE up --abort-on-container-exit -d - export API_IMAGE=$USER_MANAGER_TEST_IMAGE_NAME - export TEST_TARGET=INTEGRATION - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE down - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE pull - - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE up --abort-on-container-exit + - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE up --abort-on-container-exit -d needs: - job: test-flights-api - job: test-auth-api diff --git a/README.md b/README.md index a6a7d92..18a46b9 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ ``` pre-commit install -pre-commit run --all-files ``` ### auth-domain diff --git a/flights-domain/flights-information/coverage.xml b/flights-domain/flights-information/coverage.xml deleted file mode 100644 index 6ef9f48..0000000 --- a/flights-domain/flights-information/coverage.xml +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - /home/slococo/ITBA/MICRO/fids/flights-domain/flights-information/src - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/flights-domain/flights-information/report.xml b/flights-domain/flights-information/report.xml deleted file mode 100644 index 5c5c5a6..0000000 --- a/flights-domain/flights-information/report.xml +++ /dev/null @@ -1,88 +0,0 @@ -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:145: in __init__ - self._dbapi_connection = engine.raw_connection() -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:3292: in raw_connection - return self.pool.connect() -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:452: in connect - return _ConnectionFairy._checkout(self) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:1269: in _checkout - fairy = _ConnectionRecord.checkout(pool) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:716: in checkout - rec = pool._do_get() -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/impl.py:169: in _do_get - with util.safe_reraise(): -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ - raise exc_value.with_traceback(exc_tb) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/impl.py:167: in _do_get - return self._create_connection() -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:393: in _create_connection - return _ConnectionRecord(self) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:678: in __init__ - self.__connect() -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:902: in __connect - with util.safe_reraise(): -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ - raise exc_value.with_traceback(exc_tb) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:898: in __connect - self.dbapi_connection = connection = pool._invoke_creator(self) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/create.py:637: in connect - return dialect.connect(*cargs, **cparams) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/default.py:616: in connect - return self.loaded_dbapi.connect(*cargs, **cparams) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/psycopg2/__init__.py:122: in connect - conn = _connect(dsn, connection_factory=connection_factory, **kwasync) -E psycopg2.OperationalError: could not translate host name "usermanager-db" to address: Name or service not known - -The above exception was the direct cause of the following exception: -src/tests/dummy_test.py:3: in <module> - from src.api.main import app -src/api/main.py:6: in <module> - Base.metadata.create_all(bind=engine) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/sql/schema.py:5828: in create_all - bind._run_ddl_visitor( -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:3242: in _run_ddl_visitor - with self.begin() as conn: -/home/slococo/.conda/envs/flights/lib/python3.11/contextlib.py:137: in __enter__ - return next(self.gen) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:3232: in begin - with self.connect() as conn: -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:3268: in connect - return self._connection_cls(self) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:147: in __init__ - Connection._handle_dbapi_exception_noconnection( -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:2430: in _handle_dbapi_exception_noconnection - raise sqlalchemy_exception.with_traceback(exc_info[2]) from e -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:145: in __init__ - self._dbapi_connection = engine.raw_connection() -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:3292: in raw_connection - return self.pool.connect() -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:452: in connect - return _ConnectionFairy._checkout(self) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:1269: in _checkout - fairy = _ConnectionRecord.checkout(pool) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:716: in checkout - rec = pool._do_get() -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/impl.py:169: in _do_get - with util.safe_reraise(): -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ - raise exc_value.with_traceback(exc_tb) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/impl.py:167: in _do_get - return self._create_connection() -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:393: in _create_connection - return _ConnectionRecord(self) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:678: in __init__ - self.__connect() -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:902: in __connect - with util.safe_reraise(): -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ - raise exc_value.with_traceback(exc_tb) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:898: in __connect - self.dbapi_connection = connection = pool._invoke_creator(self) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/create.py:637: in connect - return dialect.connect(*cargs, **cparams) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/default.py:616: in connect - return self.loaded_dbapi.connect(*cargs, **cparams) -/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/psycopg2/__init__.py:122: in connect - conn = _connect(dsn, connection_factory=connection_factory, **kwasync) -E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "usermanager-db" to address: Name or service not known -E -E (Background on this error at: https://sqlalche.me/e/20/e3q8) \ No newline at end of file