1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-12-06 20:07:43 +01:00

update pipeline

This commit is contained in:
quark
2025-12-05 12:04:18 +01:00
parent c908bee872
commit a389a120b8

View File

@@ -7,10 +7,10 @@ stages:
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
# Ubuntu 22.04 # Ubuntu 24.04
py310-django52: py312-django52:
stage: test stage: test
image: ubuntu:22.04 image: ubuntu:24.04
before_script: before_script:
# Fix tzdata prompt # Fix tzdata prompt
- ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo Europe/Paris > /etc/timezone - ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo Europe/Paris > /etc/timezone
@@ -22,12 +22,12 @@ py310-django52:
python3-djangorestframework python3-django-oauth-toolkit python3-psycopg2 python3-pil python3-djangorestframework python3-django-oauth-toolkit python3-psycopg2 python3-pil
python3-babel python3-lockfile python3-pip python3-phonenumbers python3-memcache python3-babel python3-lockfile python3-pip python3-phonenumbers python3-memcache
python3-bs4 python3-setuptools tox texlive-xetex python3-bs4 python3-setuptools tox texlive-xetex
script: tox -e py310-django52 script: tox -e py312-django52
# Debian Bookworm # Debian Bookworm
py311-django52: py313-django52:
stage: test stage: test
image: debian:bookworm image: debian:trixie
before_script: before_script:
- > - >
apt-get update && apt-get update &&
@@ -37,11 +37,11 @@ py311-django52:
python3-djangorestframework python3-django-oauth-toolkit python3-psycopg2 python3-pil python3-djangorestframework python3-django-oauth-toolkit python3-psycopg2 python3-pil
python3-babel python3-lockfile python3-pip python3-phonenumbers python3-memcache python3-babel python3-lockfile python3-pip python3-phonenumbers python3-memcache
python3-bs4 python3-setuptools tox texlive-xetex python3-bs4 python3-setuptools tox texlive-xetex
script: tox -e py311-django52 script: tox -e py313-django52
linters: linters:
stage: quality-assurance stage: quality-assurance
image: debian:bookworm image: debian:trixie
before_script: before_script:
- apt-get update && apt-get install -y tox - apt-get update && apt-get install -y tox
script: tox -e linters script: tox -e linters