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

CI testing for Debian Bookworm

parent 27b39d01
No related branches found
No related tags found
No related merge requests found
Pipeline #24606 passed
image: registry.git.cccv.de/uffd/docker-images/buster image: registry.git.cccv.de/uffd/docker-images/bookworm
variables: variables:
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
...@@ -61,6 +61,22 @@ linter:bullseye: ...@@ -61,6 +61,22 @@ linter:bullseye:
reports: reports:
codequality: codeclimate.json codequality: codeclimate.json
linter:bookworm:
image: registry.git.cccv.de/uffd/docker-images/bookworm
stage: test
script:
- pip3 install $PYLINT_PIN pylint-gitlab # this force-updates jinja2 and some other packages!
- pip3 install -r requirements.txt
- python3 -m pylint --exit-zero --rcfile .pylintrc --output-format=pylint_gitlab.GitlabCodeClimateReporter 'uffd-ldapd' > codeclimate.json
- python3 -m pylint --exit-zero --rcfile .pylintrc --output-format=pylint_gitlab.GitlabPagesHtmlReporter 'uffd-ldapd' > pylint.html
- python3 -m pylint --rcfile .pylintrc --output-format=text 'uffd-ldapd'
artifacts:
when: always
paths:
- pylint.html
reports:
codequality: codeclimate.json
test:package:apt:buster: test:package:apt:buster:
image: registry.git.cccv.de/uffd/docker-images/buster image: registry.git.cccv.de/uffd/docker-images/buster
stage: test stage: test
...@@ -79,6 +95,15 @@ test:package:apt:bullseye: ...@@ -79,6 +95,15 @@ test:package:apt:bullseye:
dependencies: dependencies:
- build:apt - build:apt
test:package:apt:bookworm:
image: registry.git.cccv.de/uffd/docker-images/bookworm
stage: test
script:
- apt update
- apt -y install ./*.deb
dependencies:
- build:apt
.publish: .publish:
stage: deploy stage: deploy
rules: rules:
...@@ -95,5 +120,6 @@ publish:apt: ...@@ -95,5 +120,6 @@ publish:apt:
- echo Update published repo for all distros - echo Update published repo for all distros
- 'curl --user "${APTLY_API_USER}:${APTLY_API_PW}" -X PUT -H "Content-Type: application/json" --data "{ }" "${APT_API_URL}/api/publish/${APT_REPO}/buster"' - 'curl --user "${APTLY_API_USER}:${APTLY_API_PW}" -X PUT -H "Content-Type: application/json" --data "{ }" "${APT_API_URL}/api/publish/${APT_REPO}/buster"'
- 'curl --user "${APTLY_API_USER}:${APTLY_API_PW}" -X PUT -H "Content-Type: application/json" --data "{ }" "${APT_API_URL}/api/publish/${APT_REPO}/bullseye"' - 'curl --user "${APTLY_API_USER}:${APTLY_API_PW}" -X PUT -H "Content-Type: application/json" --data "{ }" "${APT_API_URL}/api/publish/${APT_REPO}/bullseye"'
- 'curl --user "${APTLY_API_USER}:${APTLY_API_PW}" -X PUT -H "Content-Type: application/json" --data "{ }" "${APT_API_URL}/api/publish/${APT_REPO}/bookworm"'
dependencies: dependencies:
- build:apt - build:apt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment