ci: fix Renovate config blocking 8.9 image updates and address config debt#6251
ci: fix Renovate config blocking 8.9 image updates and address config debt#6251eamonnmoloney wants to merge 5 commits into
Conversation
8.9 is now GA (chart version 14.3.0) but the Renovate config still forces alpha-only versioning regex for Camunda images in 8.9 files. This regex requires an -alpha[1-9] suffix, causing Renovate to ignore all GA releases (e.g., 8.9.44, 8.9.5) as invalid versions. Changes: - Remove 8.9 from the alpha versioning rules (keep 8.10 only) - Move 8.9 to the GA patch-only group (consistent with 8.3-8.8) - Keep 8.10 in the major/minor/patch group with alpha versioning This unblocks Renovate from updating console (8.9.37->8.9.44), connectors-bundle (8.9.3->8.9.4), optimize (8.9.4->8.9.5), and camunda (8.9.4->8.9.5).
There was a problem hiding this comment.
Pull request overview
Removes alpha-only versioning constraints for chart 8.9 in Renovate config since 8.9 is now GA, and moves it into the GA patch-only image update group alongside 8.3–8.8. 8.10 remains under alpha versioning.
Changes:
- Removes 8.9 from the alpha versioning regex rule
- Adds 8.9 files to the GA patch/pin image update group
- Updates description of the alpha semver rule to only reference 8.10
Adds a Go test (scripts/renovate-config-check/) that validates Renovate's alpha versioning rules only reference chart versions that are actually still in alpha. This prevents the bug where a chart transitions to GA but the alpha-only regex remains, silently blocking all image updates. The test: - Parses .github/renovate.json5 with a JSON5 library - Finds all packageRules with alpha versioning regex - Cross-references against each chart's Chart.yaml version field - Fails with an actionable message if a GA chart is in an alpha rule - Also validates that all GA charts have patch update rules enabled The renovate-config-check.yaml workflow is extended to: - Also trigger on Chart.yaml changes (catches GA transitions) - Run the new consistency tests after the existing syntax validator
…/8.9 - Replace all 'helmv3' with 'helm' in matchManagers and matchDatasources (Renovate renamed this manager/datasource in v37+, triggering a 'Config Migration Needed' warning on the Dependency Dashboard) - Add Elasticsearch Docker image version constraints for 8.8 and 8.9 charts (~8.18.0), preventing accidental bumps to ES 9.x when released. This is consistent with the existing constraints for 8.3-8.7.
|
@bkenez I tested this Renovate config change on a fork before merge. What I did:
Results:
Notes:
|
bkenez
left a comment
There was a problem hiding this comment.
There is a go.mod version mismatch: scripts/renovate-config-check/go.mod declares go 1.25.0 but .tool-versions pins golang 1.26.3. The setup-go step reads from go.mod, so CI installs a different version than the rest of the repo. Suggest bumping to match before merge. @eamonnmoloney
|
@claude[agent] please do this "There is a go.mod version mismatch: scripts/renovate-config-check/go.mod declares go 1.25.0 but .tool-versions pins golang 1.26.3. The setup-go step reads from go.mod, so CI installs a different version than the rest of the repo. Suggest bumping to match before merge. @eamonnmoloney" |
Agent-Logs-Url: https://github.com/camunda/camunda-platform-helm/sessions/54a1e50f-01ea-4885-89ae-b1d690d118c7 Co-authored-by: eamonnmoloney <814854+eamonnmoloney@users.noreply.github.com>
Done. Updated scripts/renovate-config-check/go.mod from go 1.25.0 to go 1.26 to match .tool-versions. Commit: 757fcfc |
Summary
Fixes Renovate not updating Camunda 8.9 image tags, resolves deprecated config warnings, and adds a CI guard to prevent recurrence.
Fixes
1. Alpha versioning regex blocking 8.9 GA updates (root cause)
The Renovate config forced an alpha-only versioning regex on all Camunda images in 8.9 files:
This requires an
-alpha[1-9]suffix. Since 8.9 went GA (chart version 14.3.0), releases use plain semver (8.9.44,8.9.5), which don't match. Renovate silently skipped them.Fix: Removed 8.9 from both alpha versioning rules. Moved 8.9 into the GA patch-only image update group (consistent with 8.3-8.8). 8.10 remains under alpha versioning.
Stale images this unblocks:
camunda/console: 8.9.37 -> 8.9.44camunda/connectors-bundle: 8.9.3 -> 8.9.4camunda/optimize: 8.9.4 -> 8.9.5camunda/camunda: 8.9.4 -> 8.9.52. CI guard: alpha versioning consistency test
New Go test package at
scripts/renovate-config-check/that prevents this regression:TestAlphaVersioningConsistency-- parsesrenovate.json5, finds alpha versioning rules, cross-references against each chart'sChart.yamlversion field. Fails if a GA chart is still in an alpha rule.TestGAChartsHavePatchUpdatesEnabled-- ensures every GA chart version is included in a Renovate image update group.The
renovate-config-check.yamlworkflow now also triggers onChart.yamlchanges, so when a chart transitions from alpha to GA, CI immediately flags the stale Renovate rule.3. Deprecated
helmv3->helmmigrationRenovate renamed the
helmv3manager/datasource tohelmin v37+. The config still used the old name inmatchManagersandmatchDatasources, triggering the "Config Migration Needed" warning on the Dependency Dashboard.Fix: Replaced all
helmv3references withhelm.4. Missing Elasticsearch version constraints for 8.8 and 8.9
Charts 8.3-8.7 all had
allowedVersionsfor the ES Docker image tag, but 8.8 and 8.9 had none. Without a cap, Renovate could bump ES to 9.x when released.Fix: Added
allowedVersions: '~8.18.0'for both 8.8 and 8.9, consistent with the existing constraint pattern.Not fixed here (requires Mend app admin)
registry.camunda.cloudpackage lookups all fail with "no-result" (enterprise images: console-sm, keycloak-ee, modeler-restapi, vendor-ee/postgresql, vendor-ee/elasticsearch). ThehostRulesin the config are correct -- theDISTRO_CAMUNDA_DOCKER_REGISTRY_PASSWORDsecret likely needs to be verified/updated in the Mend Renovate App settings.Open thread to fix the secret: https://camunda.slack.com/archives/C5AHF1D8T/p1779944595148519
After merge
Check values-latest.yaml filescheck starts passing -> unblocks automerge of other Renovate PRs (deps: update camunda-platform-images (patch) #6154)