Skip to content

Commit 2aefb4c

Browse files
nadiamoeNadia Santalla
authored and
Nadia Santalla
committed
chore: renovate: remove config related to alpine packages
1 parent b8ff6ad commit 2aefb4c

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

.github/renovate.json5

+1-37
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,6 @@
7070
"(?:^|\\n)[ \\t]*K6_VERSION\\s*:=\\s*(?<currentValue>\\S+)[ \\t]*(?:$|\\n)"
7171
]
7272
},
73-
{
74-
// Update pinned alpine packages in Dockerfile.
75-
"customType": "regex",
76-
"fileMatch": [ "Dockerfile", "Dockerfile.build" ],
77-
"matchStrings": [
78-
// Lines that loosely look like "apk add --repository community --arch value something=version".
79-
// To keep this regex simple, only one package per "apk add" is supported.
80-
"\\bapk\\b.+?\\badd\\b.+?(--repository|-X)[ =\\t]+(?<alpineRepo>[a-z]+)\\s+(--arch[ =\\t]+(?<arch>\\w+)\\s+)?(?<depName>[-\\w]+?)=(?<currentValue>[-.\\w]+)"
81-
],
82-
"versioningTemplate": "loose", // The most lenient versioning renovate supports.
83-
// We use different datasources for main and community, as alpine serves them in different URLs.
84-
// Specifying --arch is optional, if not found it will default to x86_64.
85-
"datasourceTemplate": "custom.alpine-{{alpineRepo}}-{{#if arch}}{{arch}}{{else}}x86_64{{/if}}",
86-
// Extracted "versions" include the package name, so here we strip that prefix using a regex.
87-
"extractVersionTemplate": "{{depName}}-(?<version>.+).apk",
88-
},
8973
{
9074
// Update renovate version in GHA workflow file.
9175
"customType": "regex",
@@ -99,25 +83,5 @@
9983
"RENOVATE_IMAGE=ghcr.io/renovatebot/renovate:(?<currentValue>[^@\\s]+)(?:@(?<currentDigest>\\S+))?"
10084
]
10185
}
102-
],
103-
"customDatasources": {
104-
// Use alpine HTML mirror page as a repository. When using `html` format, renovate produces version strings from
105-
// all links present in the page. The version is extracted from that using extractVersionTemplate above.
106-
"alpine-main-x86_64": {
107-
"defaultRegistryUrlTemplate": "https://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/",
108-
"format": "html",
109-
},
110-
"alpine-community-x86_64": {
111-
"defaultRegistryUrlTemplate": "https://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/",
112-
"format": "html",
113-
},
114-
"alpine-main-aarch64": {
115-
"defaultRegistryUrlTemplate": "https://dl-cdn.alpinelinux.org/alpine/latest-stable/main/aarch64/",
116-
"format": "html",
117-
},
118-
"alpine-community-aarch64": {
119-
"defaultRegistryUrlTemplate": "https://dl-cdn.alpinelinux.org/alpine/latest-stable/community/aarch64/",
120-
"format": "html",
121-
},
122-
},
86+
]
12387
}

0 commit comments

Comments
 (0)