Add renovate config to match packages
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
42040b960e
commit
dd72e7d0cf
3 changed files with 31 additions and 14 deletions
|
@ -16,7 +16,7 @@ steps:
|
||||||
build-branch:
|
build-branch:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
exclude: [ "main" ]
|
exclude: ["main"]
|
||||||
image: woodpeckerci/plugin-docker-buildx:2.1.0
|
image: woodpeckerci/plugin-docker-buildx:2.1.0
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
|
|
22
Dockerfile
22
Dockerfile
|
@ -1,20 +1,20 @@
|
||||||
FROM python:3.11.5-alpine3.17
|
FROM python:3.11.5-alpine3.17
|
||||||
COPY --from=koalaman/shellcheck:v0.9.0 /bin/shellcheck /bin/
|
COPY --from=koalaman/shellcheck:v0.9.0 /bin/shellcheck /bin/
|
||||||
|
|
||||||
# renovate: datasource=repology depName=alpine_edge/build-base versioning=loose
|
# renovate: datasource=repology depName=alpine_3_17/build-base versioning=loose
|
||||||
ENV BUILD_BASE_VERSION="0.5"
|
ENV BUILD_BASE_VERSION="0.5-r3"
|
||||||
# renovate: datasource=repology depName=alpine_edge/gcc versioning=loose
|
# renovate: datasource=repology depName=alpine_3_17/gcc versioning=loose
|
||||||
ENV GCC_VERSION="13.2.0"
|
ENV GCC_VERSION="12.2.1_git20220924-r4"
|
||||||
# renovate: datasource=repology depName=alpine_edge/ruby versioning=loose
|
# renovate: datasource=repology depName=alpine_3_17/ruby versioning=loose
|
||||||
ENV RUBY_VERSION="3.2.2"
|
ENV RUBY_VERSION="3.1.4-r0"
|
||||||
# renovate: datasource=repology depName=alpine_edge/git versioning=loose
|
# renovate: datasource=repology depName=alpine_3_17/git versioning=loose
|
||||||
ENV GIT_VERSION="2.42.0"
|
ENV GIT_VERSION="2.38.5-r0"
|
||||||
# renovate: datasource=repology depName=alpine_edge/openssh-keygen versioning=loose
|
# renovate: datasource=repology depName=alpine_3_17/openssh-keygen versioning=loose
|
||||||
ENV OPENSSH_KEYGEN_VERSION="9.4_p1-r0"
|
ENV OPENSSH_KEYGEN_VERSION="9.1_p1-r4"
|
||||||
# renovate: datasource=pypi depName=pre-commit versioning=pep440
|
# renovate: datasource=pypi depName=pre-commit versioning=pep440
|
||||||
ENV PRE_COMMIT_VERSION="3.3.3"
|
ENV PRE_COMMIT_VERSION="3.3.3"
|
||||||
# renovate: datasource=rubygems depName=mdl versioning=ruby
|
# 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 \
|
RUN apk add --update --no-cache \
|
||||||
build-base="${BUILD_BASE_VERSION}" \
|
build-base="${BUILD_BASE_VERSION}" \
|
||||||
|
|
|
@ -1,6 +1,23 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": ["local>renovate/config"],
|
||||||
"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}}"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue