Tags: bdd/runitor
Tags
v1.4.1 Fixes a reintroduced bug that causes pings with empty bodies to be sent with chunked encoding. While this is not an issue for healthchecks.io hosted instance, self hosted instances directly exposing the Django's HTTP server would fail with 411 Length Required response. Reported and fix co-authored by @inode64
v1.4.0
New:
- Add `file:` prefix support for flag and env var indirection
Passing secrets via environment variables isn't always safe. This change
add support for reading values from a file, preferably one residing on a
non-swappable memory, like systemd-credentials or Docker Compose
Secrets, that get mounted from hopefully a safer location from the host.
Example:
# From the environment variable.
export PING_KEY=file:/run/secrets/hc_prod_pingkey
runitor -slug nightly-backup restic backup --files-from manifest
# From the command line flag.
# Using systemd-creds(1).
[Service]
Type=oneshot
SetCredentialEncrypted=hc-uuid-upgrades: \
Whxqht+[........................................................]nvz/E= \
ExecStart=/usr/bin/runitor \
-uuid file:%d/hc-uuid-upgrades \
/usr/local/sbin/unattended-upgrades
[Unit]
Description=Unattended Upgrades
- Add PING_KEY environment as preferred alternative to HC_PING_KEY
- Go 1.24
Bug fixes:
- For pings with body (captured by default) retries failed to
send the body again on the, causing 400 Bad Request errors due
to mismatched Content-Length header and body size.
Runitor retries if the remote server returns a status code of 408,
429, or 50[0234].
Reported by @yteraoka in #181
v1.4.0-beta - Fixes a bug where ping body was when retrying the request if the prior request timed out or had a 5XX response.
v1.4.0-beta.2 New Feature: - Add `file:` prefix support for flag and environment variable indirection. A safer way to pass secrets, like ping key, or check UUID. Changes: - Add PING_KEY environment variable, a canonical replacement for HC_PING_KEY. The original will remain supported throughout v1.x.x versions.
PreviousNext