Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Adrien Dorsaz
acme-dns-tiny
Commits
a745e655
Commit
a745e655
authored
Sep 01, 2021
by
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
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a745e655
...
...
@@ -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
bu
ster
_pebble_breaking
:
bu
llseye
_pebble_breaking
:
extends
:
.pebble_breaking_common
image
:
acme-dns-tiny:bu
ster
-slim
image
:
acme-dns-tiny:bu
llseye
-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
bu
ster
-le-staging
:
bu
llseye
-le-staging
:
extends
:
.lets_encrypt_staging_common
image
:
acme-dns-tiny:bu
ster
-slim
image
:
acme-dns-tiny:bu
llseye
-slim
docker/
jessi
e/Dockerfile
→
docker/
bullsey
e/Dockerfile
View file @
a745e655
FROM
debian:
jessi
e-slim
FROM
debian:
bullsey
e-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
. .
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment