Skip to content

Commit d1ac642

Browse files
committed
fix renovate config
1 parent 5b1619a commit d1ac642

File tree

4 files changed

+22
-14
lines changed

4 files changed

+22
-14
lines changed

.github/renovate.json

-10
This file was deleted.

images/plural-bundle/run.sh

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
set -ex
44

55
K3S_MANIFEST_DIR=${K3S_MANIFEST_DIR:-/var/lib/rancher/k3s/server/manifests/}
6-
7-
# renovate: datasource=docker depName=ghcr.io/pluralsh/plural-cli-cloud
86
BASE_IMAGE="ghcr.io/pluralsh/kairos-plural-cli:bootstrap"
97
TOKEN=""
108
URL=""

images/plural-cli/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ FROM alpine:3.21.2 AS build
22

33
ARG TARGETARCH
44

5-
# renovate: datasource=github-releases depName=pluralsh/plural-cli
5+
# renovate: datasource=github-tags depName=plural-cli packageName=pluralsh/plural-cli
66
ENV PLURAL_VERSION=0.11.1
77
ADD "https://github.com/pluralsh/plural-cli/releases/download/v${PLURAL_VERSION}/plural-cli_${PLURAL_VERSION}_Linux_${TARGETARCH}.tar.gz" /
88
RUN tar -xzvf /plural-cli_${PLURAL_VERSION}_Linux_${TARGETARCH}.tar.gz plural
99

10-
# renovate: datasource=github-releases depName=helm/helm
10+
# renovate: datasource=github-tags depName=helm packageName=helm/helm versioning=node
1111
ENV HELM_VERSION=v3.15.1
1212
ADD "https://get.helm.sh/helm-${HELM_VERSION}-linux-${TARGETARCH}.tar.gz" /
1313
RUN tar -xzvf /helm-${HELM_VERSION}-linux-${TARGETARCH}.tar.gz linux-${TARGETARCH}/helm

renovate.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended", ":dependencyDashboard"],
4+
"packageRules": [
5+
{
6+
"matchPackageNames": ["pluralsh/plural-cli"],
7+
"extractVersion": "^v(?<version>.*)$"
8+
}
9+
],
10+
"customManagers": [
11+
{
12+
"customType": "regex",
13+
"description": "Update _VERSION variables in Dockerfiles",
14+
"fileMatch": ["(^|/|\\.)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"],
15+
"matchStrings": [
16+
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
17+
]
18+
}
19+
]
20+
}

0 commit comments

Comments
 (0)