diff --git a/.github/renovate.json b/.github/renovate.json index 02e055a2e..60a1b3b7f 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -34,13 +34,26 @@ "bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml" ], "matchStrings": [ - "[-\\s]*value:\\s*\"?(?[^:\"]+)(?::(?[^@\"]+))?@(?sha256:[a-f0-9]{64})\"?", - "[-\\s]*image: (?.*?)(?::(?.*?))?@(?sha256:[a-f0-9]{64})", - "- name: (?[\\w-]+)[-\\s]*image: (?.*?)(?::(?.*?))?@(?sha256:[a-f0-9]{64})" + "[-\\s]*value:\\s*\"?(?[^:\"]+):(?[^@\"]+)@(?sha256:[a-f0-9]{64})\"?", + "[-\\s]*image: (?.*?):(?.*?)@(?sha256:[a-f0-9]{64})", + "- name: (?[\\w-]+)[-\\s]*image: (?.*?):(?.*?)@(?sha256:[a-f0-9]{64})" ], "versioningTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}", "datasourceTemplate": "docker" }, + { + "customType": "regex", + "managerFilePatterns": [ + "bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml" + ], + "matchStrings": [ + "(?\\s*image:\\s*)(?nvcr\\.io/nvidia/cloud-native/gdrdrv)(?::(?v?\\d+\\.\\d+(?:\\.\\d+)?-rhel9(?:\\.\\d+)?))?@(?sha256:[a-f0-9]{64})", + "(?\\s*value:\\s*\")(?nvcr\\.io/nvidia/cloud-native/gdrdrv)(?::(?v?\\d+\\.\\d+(?:\\.\\d+)?-rhel9(?:\\.\\d+)?))?@(?sha256:[a-f0-9]{64})(?\")" + ], + "currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else}}v2.5.2-rhel9.6{{/if}}", + "autoReplaceStringTemplate": "{{{prefix}}}{{{depName}}}{{#if newDigest}}@{{{newDigest}}}{{/if}}{{{suffix}}}", + "datasourceTemplate": "docker" + }, { "customType": "regex", "managerFilePatterns": [ @@ -60,7 +73,10 @@ ], "packageRules": [ { - "matchPaths": ["deployments/gpu-operator/values.yaml"], + "matchPaths": [ + "deployments/gpu-operator/values.yaml", + "bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml" + ], "matchPackageNames": [ "nvcr.io/nvidia/cloud-native/k8s-driver-manager", "nvcr.io/nvidia/cloud-native/k8s-kata-manager", @@ -94,6 +110,25 @@ "versioning": "regex:^(?\\d+)\\.(?\\d+)\\.(?\\d+)-base-ubi9$", "separateMajorMinor": false }, + { + "matchPaths": ["deployments/gpu-operator/values.yaml"], + "matchPackageNames": [ + "nvcr.io/nvidia/cloud-native/nvidia-fs", + "nvcr.io/nvidia/cloud-native/gdrdrv" + ], + "extractVersion": "^(?v?\\d+\\.\\d+(?:\\.\\d+)?)(?:-[A-Za-z0-9_.-]+)?$", + "versioning": "regex:^v?(?\\d+)\\.(?\\d+)(?:\\.(?\\d+))?$", + "separateMajorMinor": false + }, + { + "matchPaths": ["bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml"], + "matchPackageNames": [ + "nvcr.io/nvidia/cloud-native/gdrdrv" + ], + "versionCompatibility": "^(?v?\\d+\\.\\d+(?:\\.\\d+)?)(?-rhel9(?:\\.\\d+)?)$", + "versioning": "regex:^v?(?\\d+)\\.(?\\d+)(?:\\.(?\\d+))?$", + "separateMajorMinor": false + }, { "matchPackageNames": ["nvcr.io/nvidia/driver"], "enabled": false