Skip to content

Commit

Permalink
Merge pull request #48 from troykelly/47-version-bump
Browse files Browse the repository at this point in the history
47 version bump
  • Loading branch information
troykelly authored Jan 22, 2025
2 parents a284bf8 + 9163b6e commit 9d26749
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 30 deletions.
8 changes: 4 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"nonFreePackages": true,
"username": "vscode",
"userUid": "automatic",
"userGid": "automatic",
"userGid": "automatic"
},
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {
"plugins": "ssh-agent npm",
"omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions",
"username": "vscode",
"username": "vscode"
},
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {},
},
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ In case you've found a bug, please [open an issue on our GitHub][issue].
[forum]: https://community.home-assistant.io
[issue]: https://github.com/troykelly/hassio-addons-letsencrypt-lexicon/issues
[certbot]: https://certbot.eff.org
[source-shield]: https://img.shields.io/badge/version-v0.7.0-blue.svg
[source]: https://github.com/lukas2511/dehydrated/releases/tag/v0.7.0
[lexicon-shield]: https://img.shields.io/badge/lexicon-v3.11.4-blue.svg
[lexicon]: https://github.com/AnalogJ/lexicon/releases/tag/v3.11.4
[source-shield]: https://img.shields.io/badge/version-v0.7.1-blue.svg
[source]: https://github.com/lukas2511/dehydrated/releases/tag/v0.7.1
[lexicon-shield]: https://img.shields.io/badge/lexicon-v3.20.1-blue.svg
[lexicon]: https://github.com/AnalogJ/lexicon/releases/tag/v3.20.1
26 changes: 13 additions & 13 deletions letslexicon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ COPY rootfs /

ARG DEHYDRATED_VERSION=v0.7.1
ARG LEXICON_VERSION=3.17.0
ARG PIP_VERSION=23.3.1
ARG PIP_VERSION=24.3.1

# Setup base
# hadolint ignore=SC2102
RUN apk add --no-cache \
coreutils=9.3-r1 \
libffi=3.4.4-r2 \
musl=1.2.4-r2 \
openssl=3.1.4-r1 \
coreutils=9.5-r2 \
libffi=3.4.6-r0 \
musl=1.2.5-r8 \
openssl=3.3.2-r4 \
sed=4.9-r2 \
wget=1.21.4-r0 && \
wget=1.25.0-r0 && \
apk add --no-cache --virtual .build-dependencies \
g++=12.2.1_git20220924-r10 \
git=2.40.1-r0 \
libffi-dev=3.4.4-r2 \
libxml2-dev=2.11.6-r0 \
libxslt-dev=1.1.38-r0 \
musl-dev=1.2.4-r2 \
openssl-dev=3.1.4-r1 && \
g++=14.2.0-r4 \
git=2.47.2-r0 \
libffi-dev=3.4.6-r0 \
libxml2-dev=2.13.4-r3 \
libxslt-dev=1.1.42-r1 \
musl-dev=1.2.5-r8 \
openssl-dev=3.3.2-r4 && \
pip install --no-cache-dir --upgrade pip==${PIP_VERSION} && \
pip3 install --no-cache-dir dns-lexicon[full]==${LEXICON_VERSION} && \
mkdir -p /opt /var/www/dehydrated && \
Expand Down
14 changes: 7 additions & 7 deletions letslexicon/build.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
build_from:
aarch64: ghcr.io/hassio-addons/base-python/aarch64:12.0.2
amd64: ghcr.io/hassio-addons/base-python/amd64:12.0.2
armhf: ghcr.io/hassio-addons/base-python/armhf:12.0.2
armv7: ghcr.io/hassio-addons/base-python/armv7:12.0.2
i386: ghcr.io/hassio-addons/base-python/i386:12.0.2
aarch64: ghcr.io/hassio-addons/base-python/aarch64:16.0.1
amd64: ghcr.io/hassio-addons/base-python/amd64:16.0.1
armhf: ghcr.io/hassio-addons/base-python/armhf:16.0.1
armv7: ghcr.io/hassio-addons/base-python/armv7:16.0.1
i386: ghcr.io/hassio-addons/base-python/i386:16.0.1
codenotary:
base_image: [email protected]
signer: [email protected]
args:
DEHYDRATED_VERSION: v0.7.1
LEXICON_VERSION: 3.17.0
PIP_VERSION: 23.3.1
LEXICON_VERSION: 3.20.1
PIP_VERSION: 24.3.1
7 changes: 6 additions & 1 deletion letslexicon/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ schema:
keyfile: str
dns:
provider: list(
aliyun|aurora|azure|cloudflare|cloudns|cloudxns|conoha|constellix|ddns|digitalocean|dinahosting|directadmin|dnsimple|dnsmadeeasy|dnspark|dnspod|dnsservices|dreamhost|duckdns|dynu|easydns|easyname|euserv|exoscale|flexibleengine|gandi|gehirn|glesys|godaddy|googleclouddns|gransy|gratisdns|henet|hetzner|hostingde|hover|infoblox|infomaniak|internetbs|inwx|joker|linode|linode4|localzone|luadns|memset|misaka|mythicbeasts|namecheap|namecom|namesilo|netcup|nfsn|njalla|nsone|oci|onapp|online|ovh|plesk|pointhq|porkbun|powerdns|rackspace|rage4|rcodezero|route53|safedns|sakuracloud|softlayer|transip|ultradns|valuedomain|vercel|vultr|webgo|wedos|yandex|yandexcloud|zeit|zilore|zonomi)?
aliyun|aurora|azure|cloudflare|cloudns|cloudxns|conoha|constellix|ddns|digitalocean|dinahosting|directadmin|dnsimple|dnsmadeeasy|dnspark|dnspod|dnsservices|dreamhost|duckdns|dynu|easydns|easyname|euserv|exoscale|flexibleengine|gandi|gehirn|glesys|godaddy|googleclouddns|gransy|gratisdns|henet|hetzner|hostingde|hover|infoblox|infomaniak|internetbs|inwx|ionos|joker|linode|linode4|localzone|luadns|memset|misaka|mythicbeasts|namecheap|namecom|namesilo|netcup|nfsn|njalla|nsone|oci|onapp|online|ovh|plesk|pointhq|porkbun|powerdns|qcloud|rackspace|rage4|rcodezero|regfish|route53|safedns|sakuracloud|softlayer|timeweb|transip|ultradns|valuedomain|vercel|vultr|webgo|wedos|yandex|yandexcloud|zeit|zilore|zonomi)?
# Provider specific options
aliyun_auth_key_id: str?
aliyun_auth_secret: str?
Expand Down Expand Up @@ -122,6 +122,7 @@ schema:
internetbs_auth_password: str?
inwx_auth_password: str?
inwx_auth_username: str?
ionos_api_key: str?
joker_auth_token: str?
linode_auth_token: str?
linode4_auth_token: str?
Expand Down Expand Up @@ -176,6 +177,8 @@ schema:
powerdns_pdns_disable_notify: str?
powerdns_pdns_server: str?
powerdns_pdns_server_id: str?
qcloud_secret_id: str?
qcloud_secret_key: str?
rackspace_auth_account: str?
rackspace_auth_api_key: str?
rackspace_auth_token: str?
Expand All @@ -184,6 +187,7 @@ schema:
rage4_auth_token: str?
rage4_auth_username: str?
rcodezero_auth_token: str?
regfish_auth_api_key: str?
route53_auth_access_key: str?
route53_auth_access_secret: str?
route53_auth_token: str?
Expand All @@ -195,6 +199,7 @@ schema:
sakuracloud_auth_token: str?
softlayer_auth_api_key: str?
softlayer_auth_username: str?
timeweb_auth_token: str?
transip_auth_api_key: str?
transip_auth_key_is_global: str?
transip_auth_username: str?
Expand Down
37 changes: 37 additions & 0 deletions letslexicon/rootfs/usr/bin/certificates
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ infoblox
infomaniak
internetbs
inwx
ionos
joker
linode
linode4
Expand All @@ -92,13 +93,16 @@ plesk
pointhq
porkbun
powerdns
qcloud
rackspace
rage4
rcodezero
regfish
route53
safedns
sakuracloud
softlayer
timeweb
transip
ultradns
valuedomain
Expand Down Expand Up @@ -710,6 +714,13 @@ refresh_certificates() {
bashio::log.info "Set inwx_auth_username"
fi

# ionos
if bashio::config.has_value 'dns.ionos_api_key'; then
LEXICON_IONOS_API_KEY=$(bashio::config 'dns.ionos_api_key')
export LEXICON_IONOS_API_KEY
bashio::log.info "Set ionos_api_key"
fi

# joker
if bashio::config.has_value 'dns.joker_auth_token'; then
LEXICON_JOKER_AUTH_TOKEN=$(bashio::config 'dns.joker_auth_token')
Expand Down Expand Up @@ -1026,6 +1037,18 @@ refresh_certificates() {
bashio::log.info "Set powerdns_pdns_server_id"
fi

# qcloud
if bashio::config.has_value 'dns.qcloud_secret_id'; then
LEXICON_QCLOUD_SECRET_ID=$(bashio::config 'dns.qcloud_secret_id')
export LEXICON_QCLOUD_SECRET_ID
bashio::log.info "Set qcloud_secret_id"
fi
if bashio::config.has_value 'dns.qcloud_secret_key'; then
LEXICON_QCLOUD_SECRET_KEY=$(bashio::config 'dns.qcloud_secret_key')
export LEXICON_QCLOUD_SECRET_KEY
bashio::log.info "Set qcloud_secret_key"
fi

# rackspace
if bashio::config.has_value 'dns.rackspace_auth_account'; then
LEXICON_RACKSPACE_AUTH_ACCOUNT=$(bashio::config 'dns.rackspace_auth_account')
Expand Down Expand Up @@ -1072,6 +1095,13 @@ refresh_certificates() {
bashio::log.info "Set rcodezero_auth_token"
fi

# regfish
if bashio::config.has_value 'dns.regfish_auth_api_key'; then
LEXICON_REGFISH_AUTH_API_KEY=$(bashio::config 'dns.regfish_auth_api_key')
export LEXICON_REGFISH_AUTH_API_KEY
bashio::log.info "Set regfish_auth_api_key"
fi

# route53
if bashio::config.has_value 'dns.route53_auth_access_key'; then
LEXICON_ROUTE53_AUTH_ACCESS_KEY=$(bashio::config 'dns.route53_auth_access_key')
Expand Down Expand Up @@ -1135,6 +1165,13 @@ refresh_certificates() {
bashio::log.info "Set softlayer_auth_username"
fi

# timeweb
if bashio::config.has_value 'dns.timeweb_auth_token'; then
LEXICON_TIMEWEB_AUTH_TOKEN=$(bashio::config 'dns.timeweb_auth_token')
export LEXICON_TIMEWEB_AUTH_TOKEN
bashio::log.info "Set timeweb_auth_token"
fi

# transip
if bashio::config.has_value 'dns.transip_auth_api_key'; then
LEXICON_TRANSIP_AUTH_API_KEY=$(bashio::config 'dns.transip_auth_api_key')
Expand Down
16 changes: 15 additions & 1 deletion providers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ auth_token Specify token for authentication
zone_id Specify the zone id

gandi
auth_token Specify gandi api key
auth_token Specify gandi api key or personal access token

api_protocol (optional) specify gandi api protocol to use: rpc (default) or rest

Expand Down Expand Up @@ -216,6 +216,9 @@ auth_username Specify username for authentication

auth_password Specify password for authentication

ionos
api_key Ionos api key: public prefix + period + key proper

joker
auth_token Specify the api key to connect to the joker.com api

Expand Down Expand Up @@ -347,6 +350,11 @@ pdns_server_id Server id to interact with

pdns_disable_notify Disable slave notifications from master

qcloud
secret_id Specify secret_id for authentication

secret_key Specify secret_key for authentication

rackspace
auth_account Specify account number for authentication

Expand All @@ -366,6 +374,9 @@ auth_token Specify token for authentication
rcodezero
auth_token Specify token for authentication

regfish
auth_api_key Specify api key for authentication

route53
auth_access_key Specify access_key for authentication

Expand All @@ -392,6 +403,9 @@ auth_username Specify username for authentication

auth_api_key Specify api private key for authentication

timeweb
auth_token Specify api token for authentication

transip
auth_username Specify username for authentication

Expand Down

0 comments on commit 9d26749

Please sign in to comment.