Skip to content

Commit 6b30746

Browse files
committed
feat: renovate updates gardenlinux
1 parent ceda2d8 commit 6b30746

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

renovate.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,27 @@
9999
"matchStrings": [
100100
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s(?:ENV |ARG )?.+?_VERSION ?(?:\\?=|=)\"? ?(?<currentValue>.+?)\"?\\s"
101101
]
102+
},
103+
{
104+
"customType": "regex",
105+
"description": "Gardenlinux in several yaml files",
106+
"managerFilePatterns": [
107+
"/.landscaper/blueprint/shoot-config.json/"
108+
],
109+
"matchStrings": [
110+
"gardenlinux\\s.*version:\\s*(?<currentValue>\\d+\\.\\d+\\.\\d+)"
111+
],
112+
"depNameTemplate": "gardener-live-gardenlinux-supported",
113+
"versioningTemplate": "semver-coerced",
114+
"datasourceTemplate": "custom.gardener-live-gardenlinux-supported"
115+
}
116+
],
117+
"customDatasources": {
118+
"gardener-live-gardenlinux-supported": {
119+
"defaultRegistryUrlTemplate": "https://api.live.gardener.cloud.sap/apis/core.gardener.cloud/v1beta1/cloudprofiles/aws",
120+
"transformTemplates": [
121+
"{\"releases\": $$.spec.machineImages[name = 'gardenlinux'][].versions[classification = 'supported'].{\"version\": $.version},\"sourceUrl\": \"https://github.com/gardenlinux/gardenlinux\",\"homepage\": \"https://pages.github.tools.sap/kubernetes/gardener/docs/landscapes/live/pam/#gardenlinux\"}"
122+
]
102123
}
103-
]
124+
}
104125
}

0 commit comments

Comments
 (0)