Skip to content
Snippets Groups Projects
Commit f227fba9 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Add python deps update CI task

parent eb44268e
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,12 @@ include:
# Those jobs require the base image; they might fail if the image is not up to date.
# Allow them to fail when building a new base image, to prevent them from blocking a new base image build
# Never run those jobs on scheduled pipelines
rules:
- if: '$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^base-.*/'
allow_failure: true
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- when: on_success
variables:
......@@ -60,6 +63,9 @@ backend-lint:
image: python:3
stage: test
except:
- schedules
cache:
paths:
- .cache/pip
......@@ -237,3 +243,13 @@ release-notes:
script:
- devops release-notes
bump-python-deps:
stage: deploy
image: registry.gitlab.com/teklia/devops:latest
only:
- schedules
script:
- devops python-deps requirements.txt base/requirements.txt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment