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

Merge branch 'python-deps' into 'master'

Add python deps update CI task

See merge request !969
parents eb44268e f227fba9
No related branches found
No related tags found
1 merge request!969Add python deps update CI task
......@@ -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