|
70 | 70 | "(?:^|\\n)[ \\t]*K6_VERSION\\s*:=\\s*(?<currentValue>\\S+)[ \\t]*(?:$|\\n)"
|
71 | 71 | ]
|
72 | 72 | },
|
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 |
| - }, |
89 | 73 | {
|
90 | 74 | // Update renovate version in GHA workflow file.
|
91 | 75 | "customType": "regex",
|
|
99 | 83 | "RENOVATE_IMAGE=ghcr.io/renovatebot/renovate:(?<currentValue>[^@\\s]+)(?:@(?<currentDigest>\\S+))?"
|
100 | 84 | ]
|
101 | 85 | }
|
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 | + ] |
123 | 87 | }
|
0 commit comments