diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21e4b436dc4d671a260e1ac449d21c6dc2ef91a5..c702927b341e28957079472e4fb5a07cee320b2e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ before_script: - apk --update add build-base # Custom line to install our own deps from Git using GitLab CI credentials - "pip install -e git+https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/arkindex/common#egg=arkindex-common" - - "pip install -e git+https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/arkindex/ponos#egg=arkindex-ponos" + - "pip install -e git+https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/arkindex/ponos#egg=ponos-server" - pip install -r tests-requirements.txt codecov variables: @@ -47,7 +47,11 @@ backend-openapi: stage: build image: registry.gitlab.com/arkindex/backend/openapi:latest - before_script: [] + before_script: + - pip uninstall -y arkindex-common ponos-server + - "pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/arkindex/common#egg=arkindex-common" + - "pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/arkindex/ponos#egg=ponos-server" + script: - mkdir -p output - pip install --no-deps -e .