renovate: termix via customManagers (inline comments not honored by kubernetes manager) #49

Merged
admin merged 1 commits from feat/renovate-termix-custommanagers into main 2026-06-06 09:42:15 +02:00
Owner

Replaces the previous failed inline-comment attempt with a customManagers.regex entry. The kubernetes manager does NOT honor # renovate: inline comments; confirmed empirically after PR #27 merged but no termix activity showed up in the manual run or dashboard.

The customManagers regex extracts termix at the manager level (before the docker-versioning pre-check that was silently skipping it), redirects the version lookup to GitHub Releases (Termix-SSH/Termix), and strips the release- prefix via extractVersion. Adds "custom.regex" to enabledManagers (custom managers are opt-in) and a packageRule disabling the kubernetes manager for ghcr.io/lukegus/termix to avoid dup-extraction noise.

🤖 Generated with Claude Code

Replaces the previous failed inline-comment attempt with a `customManagers.regex` entry. The kubernetes manager does NOT honor `# renovate:` inline comments; confirmed empirically after PR #27 merged but no termix activity showed up in the manual run or dashboard. The customManagers regex extracts termix at the manager level (before the docker-versioning pre-check that was silently skipping it), redirects the version lookup to GitHub Releases (`Termix-SSH/Termix`), and strips the `release-` prefix via `extractVersion`. Adds `"custom.regex"` to `enabledManagers` (custom managers are opt-in) and a packageRule disabling the kubernetes manager for `ghcr.io/lukegus/termix` to avoid dup-extraction noise. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
admin added 1 commit 2026-06-06 09:42:14 +02:00
The previous attempt (inline `# renovate:` comment in termix.yaml) silently
did nothing -- after merge + manual run, the dashboard's
`termix-system/termix.yaml (2)` was the resource count (Deployment +
Ingress), not detected updates. No PRs opened, no termix branches, no
queue entries anywhere.

Root cause: Renovate's `kubernetes` manager does NOT process inline
`# renovate:` comments. Those work for dockerfile/flux/helmfile/github-
actions/helm-values/etc., but kubernetes is missing from that list.

Correct fix: a `customManagers.regex` entry that extracts termix's image
directly with the right datasource/versioning/extractVersion set at
EXTRACTION time -- before any docker-version pre-check can reject the
prefixed tag. Plus a packageRule disabling the kubernetes manager for
termix so it doesn't silently skip the dep and clutter the dashboard.

Changes:
  - admin-system/renovate.yaml:
    * enabledManagers += "custom.regex"
    * customManagers: termix.yaml regex extraction -> github-releases
      datasource on Termix-SSH/Termix with `extractVersion=^release-(?<version>.+)$`
    * packageRules: disable kubernetes manager for ghcr.io/lukegus/termix
  - termix-system/termix.yaml: drop the useless inline comment, leave a
    NOTE explaining where the actual config lives.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
admin merged commit df5afe1695 into main 2026-06-06 09:42:15 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/homelab-manifests#49