Update deps and add CI job to check outdated pkgs
This commit is contained in:
parent
b26481a5f9
commit
ec77040e87
5 changed files with 65 additions and 40 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue