Skip to content
Snippets Groups Projects
Commit 409d7e66 authored by Julian's avatar Julian
Browse files

Use Debian Bookworm for CI builds

- Fix apt package build on Bookworm
- Adapt babel.cfg to jinja 3.x.x and break compatability with older versions
parent 0d870ee1
No related branches found
Tags v2.3.0
No related merge requests found
image: registry.git.cccv.de/uffd/docker-images/buster
image: registry.git.cccv.de/uffd/docker-images/bookworm
variables:
DEBIAN_FRONTEND: noninteractive
......@@ -13,7 +13,7 @@ before_script:
- uname -a
- python3 -m pylint --version
- python3 -m coverage --version
- export UFFD_PACKAGE_VERSION="$(git describe | sed -E -n -e 's/^v([0-9.]*)$/\1/p' -e 's/^v([0-9.]*)-([0-9]*)-g([0-9a-z]*)$/\1.dev+git.\3/p' | grep .)"
- export PACKAGE_VERSION="$(git describe | sed -E -n -e 's/^v([0-9.]*)$/\1/p' -e 's/^v([0-9.]*)-([0-9]*)-g([0-9a-z]*)$/\1.dev+git.\3/p' | grep .)"
.build:
stage: build
......@@ -21,7 +21,7 @@ before_script:
build:pip:
extends: .build
script:
- PACKAGE_VERSION="${UFFD_PACKAGE_VERSION}" python3 -m build
- python3 -m build
artifacts:
paths:
- dist/*
......
[python: **.py]
[jinja2: **/templates/**.html]
extensions=jinja2.ext.autoescape,jinja2.ext.with_
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