Commit a745e655 authored by Adrien Dorsaz's avatar Adrien Dorsaz
Browse files

gitlab-ci: add tests for Debian Bullseye and remove Jessie

parent e9571142
Pipeline #316 passed with stages
in 15 minutes and 38 seconds
......@@ -57,14 +57,6 @@ stages:
DOCKER_DRIVER: overlay2
DOCKER_BUILDKIT: 1
jessie-slim:
extends: .build-common
script:
- docker build
--progress plain
-t "acme-dns-tiny:jessie-slim"
-f "docker/jessie/Dockerfile" .
stretch-slim:
extends: .build-common
script:
......@@ -81,6 +73,14 @@ buster-slim:
-t "acme-dns-tiny:buster-slim"
-f "docker/buster/Dockerfile" .
bullseye-slim:
extends: .build-common
script:
- docker build
--progress plain
-t "acme-dns-tiny:bullseye-slim"
-f "docker/bullseye/Dockerfile" .
###
### Stage: check
###
......@@ -122,10 +122,6 @@ pep8:
- python3-coverage run --append --source ./ -m unittest -v
tests.unit_test_acme_dns_tiny
jessie-ut:
extends: .unit_test-common
image: acme-dns-tiny:jessie-slim
stretch-ut:
extends: .unit_test-common
image: acme-dns-tiny:stretch-slim
......@@ -133,6 +129,10 @@ stretch-ut:
buster-ut:
extends: .unit_test-common
image: acme-dns-tiny:buster-slim
bullseye-ut:
extends: .unit_test-common
image: acme-dns-tiny:bullseye-slim
artifacts:
paths:
- .coverage
......@@ -160,10 +160,6 @@ buster-ut:
tests.staging_test_acme_account_rollover
tests.staging_test_acme_account_deactivate
jessie-pebble:
extends: .pebble_strict_common
image: acme-dns-tiny:jessie-slim
stretch-pebble:
extends: .pebble_strict_common
image: acme-dns-tiny:stretch-slim
......@@ -171,6 +167,10 @@ stretch-pebble:
buster-pebble:
extends: .pebble_strict_common
image: acme-dns-tiny:buster-slim
bullseye-pebble:
extends: .pebble_strict_common
image: acme-dns-tiny:bullseye-slim
after_script:
- python3-coverage report
--include=acme_dns_tiny.py,tools/acme_account_rollover.py,tools/acme_account_deactivate.py
......@@ -193,9 +193,9 @@ buster-pebble:
alias: pebble
allow_failure: true
buster_pebble_breaking:
bullseye_pebble_breaking:
extends: .pebble_breaking_common
image: acme-dns-tiny:buster-slim
image: acme-dns-tiny:bullseye-slim
###
### Stage: Let's Encrypt staging
......@@ -209,6 +209,6 @@ buster_pebble_breaking:
tests.staging_test_acme_account_rollover
tests.staging_test_acme_account_deactivate
buster-le-staging:
bullseye-le-staging:
extends: .lets_encrypt_staging_common
image: acme-dns-tiny:buster-slim
image: acme-dns-tiny:bullseye-slim
FROM debian:jessie-slim
FROM debian:bullseye-slim
WORKDIR acme_dns_tiny
WORKDIR /acme_dns_tiny
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3-minimal python3-dnspython python3-requests \
python3-coverage \
pylint3 \
# install recommends for coverage, to include jquery
&& apt-get install -y python3-coverage pycodestyle \
&& apt-get clean
COPY . .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment