fix: one post-upgrade command, and a dashboard that matches its pin #63
Loading…
Reference in a new issue
No description provided.
Delete branch "ivuorinen/fix/postupgrade-needs-no-shell"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Renovate spawns postUpgradeTasks commands directly rather than through a
shell, so
REFRESH_CHECKSUMS=1 ./script && ./scriptwas taken as anexecutable named "REFRESH_CHECKSUMS=1" and failed with spawn ENOENT.
Replacing it with one invocation exposed a second fault: the generated
ConfigMap stamped
# sha256:with the pin it was expecting, not the bytesfetch() had downloaded. Under --refresh those differ, because the pins in
the script are rewritten only at the end of the run — so a single run left
the ConfigMap naming a checksum the script no longer contained. That is
what the second invocation had been quietly repairing.
fetch() now records the digest of the bytes it supplies, beside the cached
archive so every dashboard reading one tarball reports the same value, and
the ConfigMap carries that. tests/version-sync.bats gains the pairing that
was missing: the existing check compares the source URL, never the digest
next to it.
docs/07-monitoring.md and docs/11-renovate.md still said Renovate could not
bump these pins and did not manage them, which stopped being true in #57.