Skip to content

chore(renovate): track SQL Server CU/GDR tags on a fixed Ubuntu base - #371

Merged
samtrion merged 1 commit into
mainfrom
chore/renovate-mssql-cu-versioning
Sep 26, 2026
Merged

samtrion merged 1 commit into
mainfrom
chore/renovate-mssql-cu-versioning

Conversation

@samtrion

Copy link
Copy Markdown
Contributor

Summary

Adds a Renovate package rule for mcr.microsoft.com/mssql/server that uses regex versioning, so only cumulative update (CU) and GDR tags on a fixed Ubuntu base get tracked.

Motivation

Change

  • New packageRules entry, placed after the generic docker/loose rule so it takes precedence:
    • matchDatasources: ["docker"], matchPackageNames: ["mcr.microsoft.com/mssql/server"]
    • versioning: regex:^(?<major>\d+)-CU(?<minor>\d+)(-GDR(?<patch>\d+))?-ubuntu-(?<compatibility>\d+\.\d+)$
  • The compatibility group keeps updates on the Ubuntu base that is already in use. Preview, RC, CTP and latest tags never match.

Validation

  • renovate-config-validator (renovate 44.115.10) reports no new findings. The only warning (vulnerabilityAlerts.prPriority) was already on main.
  • Checked the regex against sample tags: 2025-CU1-ubuntu-22.04 and 2022-CU21-GDR2-ubuntu-22.04 match; 2025-RC1-ubuntu-24.04, 2025-preview-ubuntu-24.04, 2022-CTP2.0-ubuntu-22.04 and 2025-latest do not.
  • The rule is identical to the one in test(integration): survive intermittent SQL Server 2025 startup crashes pulse#796.

@samtrion
samtrion requested a review from a team as a code owner September 26, 2026 16:38
@samtrion
samtrion merged commit e13f894 into main Sep 26, 2026
4 checks passed
@samtrion
samtrion deleted the chore/renovate-mssql-cu-versioning branch September 26, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant