Commit 6b7a2d5e authored by Nicholas J Anderson's avatar Nicholas J Anderson

Pretty it up a bit, maybe faster?

Also, axe the debug output.
parent 3609b9a8
Pipeline #2577 passed with stage
in 11 seconds
...@@ -2,13 +2,23 @@ image: alpine:latest ...@@ -2,13 +2,23 @@ image: alpine:latest
lets-encrypt: lets-encrypt:
stage: deploy stage: deploy
image: python:3.6 image: certbot/certbot-dns-rfc2136
script: script:
- pip install certbot-dns-rfc2136
- umask 0077 - umask 0077
- for i in dns_rfc2136_server dns_rfc2136_port dns_rfc2136_name dns_rfc2136_secret dns_rfc2136_algorithm; do echo "$i = ${!i}" | tee -a /rfc2136.ini; done - >
- cat /rfc2136.ini for i in dns_rfc2136_server dns_rfc2136_port dns_rfc2136_name dns_rfc2136_secret dns_rfc2136_algorithm;
- certbot certonly --agree-tos --non-interactive --email nander13@gmu.edu --dry-run --dns-rfc2136 --dns-rfc2136-credentials /rfc2136.ini -d nic-a.net --preferred-challenges dns-01 do echo "$i = ${!i}" >> /rfc2136.ini;
done
- >
certbot certonly \
--agree-tos \
--non-interactive \
--email nander13@gmu.edu \
--dry-run \
--dns-rfc2136 \
--dns-rfc2136-credentials /rfc2136.ini \
-d nic-a.net \
--preferred-challenges dns-01
when: manual when: manual
pages: pages:
......
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