Commit 367d8a5b authored by Adrien Dorsaz's avatar Adrien Dorsaz

Merge branch 'fix-debug-output-message' into 'master'

Fix debug output message

See merge request !25
parents dc657495 c4cd1fe7
Pipeline #284 failed with stages
in 15 minutes and 30 seconds
......@@ -7,6 +7,9 @@ stages:
.build:
stage: build
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
DOCKER_BUILDKIT: 1
only:
- merge_requests
- master
......@@ -41,20 +44,26 @@ stages:
jessie-slim:
extends: .build
script:
- docker build -t "acme-dns-tiny:jessie-slim"
-f "docker/jessie/Dockerfile" .
- docker build
--progress plain
-t "acme-dns-tiny:jessie-slim"
-f "docker/jessie/Dockerfile" .
stretch-slim:
extends: .build
script:
- docker build -t "acme-dns-tiny:stretch-slim"
-f "docker/stretch/Dockerfile" .
- docker build
--progress plain
-t "acme-dns-tiny:stretch-slim"
-f "docker/stretch/Dockerfile" .
buster-slim:
extends: .build
script:
- docker build -t "acme-dns-tiny:buster-slim"
-f "docker/buster/Dockerfile" .
- docker build
--progress plain
-t "acme-dns-tiny:buster-slim"
-f "docker/buster/Dockerfile" .
compile:
extends: .check
......
......@@ -224,7 +224,7 @@ def get_crt(config, log=LOGGER):
dnsrr_domain)
except dns.exception.DNSException as dnsexception:
log.debug((" - Not any CNAME resource has been found for this domain (%s), will "
"install TXT directly on %s"), dnsrr_domain, type(dnsexception).__name__)
"install TXT directly on %s"), type(dnsexception).__name__, dnsrr_domain)
dnsrr_set = dns.rrset.from_text(dnsrr_domain, config["DNS"].getint("TTL"),
"IN", "TXT", '"{0}"'.format(keydigest64))
try:
......
FROM debian:jessie-slim
FROM debian:stretch-slim
WORKDIR acme_dns_tiny
......
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