Update deps and add CI job to check outdated pkgs

This commit is contained in:
Georg Krause 2021-04-25 21:52:56 +02:00
commit ec77040e87
No known key found for this signature in database
GPG key ID: FD479B9A4D48E632
5 changed files with 65 additions and 40 deletions

View file

@ -16,6 +16,7 @@ stages:
- test
- build
- deploy
- deps
review_front:
interruptible: true
@ -292,6 +293,28 @@ build_api:
- master@funkwhale/funkwhale
- develop@funkwhale/funkwhale
include:
- template: Security/Secret-Detection.gitlab-ci.yml
- template: Security/SAST.gitlab-ci.yml
check_api_dependencies:
interruptible: true
stage: deps
image: funkwhale/funkwhale:develop
cache:
key: "$CI_PROJECT_ID__pip_cache"
paths:
- "$PIP_CACHE_DIR"
variables:
DJANGO_SETTINGS_MODULE: config.settings.local
POSTGRES_HOST_AUTH_METHOD: trust
only:
- branches
before_script:
- apk add make git gcc python3-dev musl-dev
- apk add postgresql-dev py3-psycopg2 libldap libffi-dev make zlib-dev jpeg-dev openldap-dev
- cd api
- pip3 install -r requirements/base.txt
- pip3 install -r requirements/local.txt
- pip3 install -r requirements/test.txt
script:
- $CI_PROJECT_DIR/scripts/check-api-deps.sh
tags:
- docker
allow_failure: true