Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@
"aks/aks-gpu-grid"
],
"groupName": "nvidia-gpu-grid",
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<prerelease>\\d{14})$",
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?-(?<prerelease>\\d{14})$",
"automerge": false,
"enabled": true,
"ignoreUnstable": false,
Expand Down
2 changes: 1 addition & 1 deletion parts/common/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@
"downloadURL": "mcr.microsoft.com/aks/aks-gpu-grid:*",
"gpuVersion": {
"renovateTag": "registry=https://mcr.microsoft.com, name=aks/aks-gpu-grid",
"latestVersion": "570.211.01-20260522192315"
"latestVersion": "570.237-20260817204535"
}
},
{
Expand Down
8 changes: 6 additions & 2 deletions pkg/agent/datamodel/gpu_components_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ func TestLoadConfig(t *testing.T) {
}

// Define regular expressions for expected formats
versionRegex := `^\d+\.\d+\.\d+$` // match version strings in a format like "X.Y.Z", where each of X, Y, and Z are numbers. e.g., "550.90.12"
suffixRegex := `^\d{14}$` // match a string of exactly 14 digits, which can represent a timestamp e.g., "20241021235610"
// Match NVIDIA driver versions, which have two or more dot-separated numeric components.
// Most are three components ("550.90.12"), but NVIDIA also ships two-component vGPU builds
// (e.g. GRID "570.237"), so the third component must be optional. This mirrors the version
// guard in the upstream Azure/aks-gpu repo: ^[0-9]+(\.[0-9]+)+$
versionRegex := `^\d+(\.\d+)+$`
suffixRegex := `^\d{14}$` // match a string of exactly 14 digits, which can represent a timestamp e.g., "20241021235610"

// Compile the regular expressions
versionPattern := regexp.MustCompile(versionRegex)
Expand Down
Loading