From e0e176881bdc759894b0acc4af3020c5e734fded Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Mon, 16 Dec 2024 15:38:19 +0100 Subject: [PATCH] fixing bugs with ci pipeline --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 306c173..6d76432 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ cache: - .pip_cache/ before_script: # common setup for every job - - python3.8 -m venv $VIRTUAL_ENV + - python3.12 -m venv $VIRTUAL_ENV - source $VIRTUAL_ENV/bin/activate - pip install --upgrade pip @@ -52,7 +52,7 @@ deploy: - pip install -r requirements.txt - echo "Starting the application to test startup with SSL..." - cd backend - - python3.8 -m main # App will start, validate, and exit + - python -m main # App will start, validate, and exit - echo "Application startup validation completed successfully." release: @@ -67,7 +67,7 @@ release: - pip install -r requirements.txt - bash make_openapi_client.sh - cd backend/python-client # Navigate to the folder where the package was generated - - python3 -m venv .venv + - python -m venv .venv - source .venv/bin/activate - pip install -U pip twine - twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* \ No newline at end of file