Skip to content

Commit bc40716

Browse files
committed
[skip-release] have renovate check downloads.apache for updates
1 parent d094489 commit bc40716

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

Diff for: .github/workflows/push.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build and Push Docker Images
22
on:
33
push:
4+
paths-ignore:
5+
- "renovate.json"
46
workflow_dispatch:
57
inputs:
68
tag:

Diff for: activemq/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM java
33

44
ARG TARGETARCH
5-
# renovate: datasource=github-tags depName=apache-activemq packageName=apache/activemq
5+
# renovate: datasource=apache-downloads depName=apache-activemq packageName=activemq
66
ARG ACTIVEMQ_VERSION=5.19.0
77
ARG ACTIVEMQ_FILE="apache-activemq-${ACTIVEMQ_VERSION}-bin.tar.gz"
88
ARG ACTIVEMQ_URL="https://archive.apache.org/dist/activemq/${ACTIVEMQ_VERSION}/${ACTIVEMQ_FILE}"

Diff for: renovate.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"matchPackageNames": [
42-
"apache/activemq",
42+
"activemq",
4343
"apache/logging-log4j2",
4444
"fcrepo/fcrepo",
4545
"fcrepo-exts/fcrepo-import-export",
@@ -48,12 +48,6 @@
4848
],
4949
"extractVersion": "^(REL|fcrepo|activemq|rel|fcrepo-import-export|fcrepo-upgrade-utils)(/|-)?(?<version>\\d+\\.\\d+\\.\\d+)$"
5050
},
51-
{
52-
"extractVersion": "^releases/solr/(?<version>\\d+\\.\\d+\\.\\d+)$",
53-
"matchPackageNames": [
54-
"/^apache/solr$/"
55-
]
56-
},
5751
{
5852
"extractVersion": "^v(?<version>\\d+\\.\\d+\\.\\d+\\.\\d+)$",
5953
"versioning": "regex:^(?:v)?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)?$",
@@ -139,6 +133,13 @@
139133
}
140134
],
141135
"customDatasources": {
136+
"apache-downloads": {
137+
"defaultRegistryUrlTemplate": "https://downloads.apache.org/{{ packageName }}/",
138+
"format": "html",
139+
"transformTemplates": [
140+
"{ \"releases\":[ $map($filter(releases.version,function($v,$i,$a){ $match($v, /^(v)?\\d+\\.\\d+\\.\\d+(\\/)?$/) }),function($v,$i,$a){ { \"version\": $match($v, /\\d+\\.\\d+\\.\\d+/).match } })] }"
141+
]
142+
},
142143
"handle": {
143144
"defaultRegistryUrlTemplate": "https://handle.net/hnr-source/",
144145
"format": "html",

Diff for: solr/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM java
33

44
ARG TARGETARCH
5-
# renovate: datasource=github-tags depName=apache-solr packageName=apache/solr
5+
# renovate: datasource=apache-downloads depName=apache-solr packageName=solr/solr
66
ARG SOLR_VERSION=9.8.1
77
ARG SOLR_FILE=solr-${SOLR_VERSION}.tgz
88
ARG SOLR_URL=https://archive.apache.org/dist/solr/solr/${SOLR_VERSION}/solr-${SOLR_VERSION}.tgz

Diff for: tomcat/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM java
33

44
ARG TARGETARCH
5-
# renovate: datasource=github-tags depName=apache-tomcat packageName=apache/tomcat
5+
# renovate: datasource=apache-downloads depName=apache-tomcat packageName=tomcat/tomcat-9
66
ARG TOMCAT_VERSION=9.0.102
77
ARG TOMCAT_FILE_SHA256="23e0a3b16d53a121c8c86b0ea4e6967d1a4ab689ccf6490ce09eae57ac394787"
88

0 commit comments

Comments
 (0)