From 528e11e47b9d407b0b1e9eab32eee7c047b47be5 Mon Sep 17 00:00:00 2001 From: Davide Principi Date: Tue, 25 Jun 2024 15:29:17 +0200 Subject: [PATCH] Configure renovate.json --- build-images.sh | 3 +-- renovate.json | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 renovate.json diff --git a/build-images.sh b/build-images.sh index 9a772b9d..eeaa17c5 100644 --- a/build-images.sh +++ b/build-images.sh @@ -7,7 +7,6 @@ # Terminate on error set -e -alpine_version=3.18.3 # Prepare variables for later use images=() # The image will be pushed to GitHub container registry @@ -15,7 +14,7 @@ repobase="${REPOBASE:-ghcr.io/nethserver}" #Create webtop-webapp container reponame="imapsync-binary" -container=$(buildah from docker.io/library/alpine:${alpine_version}) +container=$(buildah from docker.io/library/alpine:3.18.3) buildah run "${container}" /bin/sh <<'EOF' set -e apk add --no-cache imapsync cronie diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..96aa52b2 --- /dev/null +++ b/renovate.json @@ -0,0 +1,40 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ], + "ignorePaths": [ + "**/ui/**" + ], + "regexManagers": [ + { + "customType": "regex", + "fileMatch": [ + "test-module.sh" + ], + "matchStrings": [ + "ghcr\\.io/marketsquare/robotframework-browser/rfbrowser-stable:(?[^\\s]+)" + ], + "depNameTemplate": "MarketSquare/robotframework-browser", + "datasourceTemplate": "github-releases" + }, + { + "customType": "regex", + "fileMatch": [ + "build-images.sh" + ], + "matchStrings": [ + "\\bdocker\\.io/(?[^:]+):(?[-0-9\\.a-z]+)" + ], + "datasourceTemplate": "docker" + } + ], + "packageRules": [ + { + "matchPackageNames": [ + "node" + ], + "allowedVersions": "< 19" + } + ] +}