Add renovate config to match packages
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Henrik HerHde Huettemann 2023-09-22 14:55:28 +02:00
parent 42040b960e
commit dd72e7d0cf
Signed by: HueHe
GPG key ID: 9F7BD10E0A8A111E
3 changed files with 31 additions and 14 deletions

View file

@ -16,7 +16,7 @@ steps:
build-branch:
when:
branch:
exclude: [ "main" ]
exclude: ["main"]
image: woodpeckerci/plugin-docker-buildx:2.1.0
pull: true
settings:

View file

@ -1,20 +1,20 @@
FROM python:3.11.5-alpine3.17
COPY --from=koalaman/shellcheck:v0.9.0 /bin/shellcheck /bin/
# renovate: datasource=repology depName=alpine_edge/build-base versioning=loose
ENV BUILD_BASE_VERSION="0.5"
# renovate: datasource=repology depName=alpine_edge/gcc versioning=loose
ENV GCC_VERSION="13.2.0"
# renovate: datasource=repology depName=alpine_edge/ruby versioning=loose
ENV RUBY_VERSION="3.2.2"
# renovate: datasource=repology depName=alpine_edge/git versioning=loose
ENV GIT_VERSION="2.42.0"
# renovate: datasource=repology depName=alpine_edge/openssh-keygen versioning=loose
ENV OPENSSH_KEYGEN_VERSION="9.4_p1-r0"
# renovate: datasource=repology depName=alpine_3_17/build-base versioning=loose
ENV BUILD_BASE_VERSION="0.5-r3"
# renovate: datasource=repology depName=alpine_3_17/gcc versioning=loose
ENV GCC_VERSION="12.2.1_git20220924-r4"
# renovate: datasource=repology depName=alpine_3_17/ruby versioning=loose
ENV RUBY_VERSION="3.1.4-r0"
# renovate: datasource=repology depName=alpine_3_17/git versioning=loose
ENV GIT_VERSION="2.38.5-r0"
# renovate: datasource=repology depName=alpine_3_17/openssh-keygen versioning=loose
ENV OPENSSH_KEYGEN_VERSION="9.1_p1-r4"
# renovate: datasource=pypi depName=pre-commit versioning=pep440
ENV PRE_COMMIT_VERSION="3.3.3"
# renovate: datasource=rubygems depName=mdl versioning=ruby
ENV MDL_VERSION="13.2.0"
ENV MDL_VERSION="0.11.0"
RUN apk add --update --no-cache \
build-base="${BUILD_BASE_VERSION}" \

View file

@ -1,6 +1,23 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>renovate/config"
"extends": ["local>renovate/config"],
"groupName": "all dependencies",
"groupSlug": "all",
"packageRules": [
{
"groupName": "all dependencies",
"groupSlug": "all",
"matchPackagePatterns": ["*"]
}
],
"separateMajorMinor": false,
"regexManagers": [
{
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=\"(?<currentValue>.*)\"\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}