[PR #70] [CLOSED] fix(renovate): make postUpgradeTasks resilient and disable inline OCI digest pinning #290
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
webgrip/homelab-cluster#290
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/webgrip/homelab-cluster/pull/70
Author: @Copilot
Created: 5/22/2026
Status: ❌ Closed
Base:
main← Head:copilot/fix-warnings📝 Commits (1)
8737b0ffix(renovate): make postUpgradeTasks resilient and disable inline OCI digest pinning📊 Changes
2 files changed (+14 additions, -3 deletions)
View changed files
📝
kubernetes/apps/renovate/renovate-operator/jobs/configmap-gitops.yaml(+8 -0)📝
scripts/update-oci-digests.sh(+6 -3)📄 Description
Closes #6
Summary
Two targeted fixes to eliminate the remaining
⚠️ WARN: Error updating branch: update failurein the Renovate Dashboard.1.
scripts/update-oci-digests.sh— resilient registry failure handlingRoot cause:
postUpgradeTasksruns./scripts/update-oci-digests.shfor every Renovate branch update (includingchore(): pin dependenciesfor Docker images in HelmRelease values). The script usedexit 1on the first registry fetch failure, which caused the entire branch update to fail — emittingWARN: Error updating branch: update failure— even when the branch had nothing to do with OCI Helm charts.Fix: Replace the hard
exit 1withWARN + continueso individual registry failures are logged and skipped rather than aborting the run. The CIverify-oci-digests.shstep remains in place to catch any genuinely stale digests on every PR.2.
kubernetes/apps/renovate/renovate-operator/jobs/configmap-gitops.yaml— disable digest pinning for inlineoci://refsRoot cause: The custom.regex "Process inline OCI dependencies" manager picks up
oci://...references in all YAML files (e.g.FluxInstance.spec.distribution.artifact: oci://ghcr.io/controlplaneio-fluxcd/flux-operator-manifests:v0.36.0inhelmrelease.yaml). The existingpinDigests: falserules only coveredocirepository.yamlfiles. Renovate was therefore includingghcr.io/controlplaneio-fluxcd/flux-operator-manifestsin thechore(): pin dependenciesgroup, contributing to that branch's failures.Fix: Add a complementary
enabled: falserule formatchUpdateTypes: [pinDigest, digest]oncustom.regexmatches in non-ocirepository.yaml files. Version updates via this manager are unaffected; only digest-pin-only updates are suppressed.Testing
bash scripts/verify-oci-digests.sh .— all 29 OCI repositories OKbash scripts/update-oci-digests.sh .— all 29 files verified/refreshed, exit 0🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.