From 0bb533f16e3b76a188094161ddb099c9bd6bb20c Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 3 May 2022 16:02:08 +0200 Subject: [PATCH] test(renovate): automerge --- createrepo.sh | 8 ++++++-- renovate.json | 10 ++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/createrepo.sh b/createrepo.sh index 0e6455a..1aba82b 100644 --- a/createrepo.sh +++ b/createrepo.sh @@ -3,7 +3,11 @@ set -e CONTAINER_RUNTIME=$(which docker) -CREATEREPO_IMAGE_VERSION=0.17.2 + +CREATEREPO_IMAGE_REGISTRY_HOST=docker.io +CREATEREPO_IMAGE_NAME=volkerraschek/createrepo +CREATEREPO_IMAGE_VERSION=0.17.1 +CREATEREPO_IMAGE_FULLY_QUALIFIED=${CREATEREPO_IMAGE_REGISTRY_HOST}/${CREATEREPO_IMAGE_NAME}:${CREATEREPO_IMAGE_VERSION} CUSTOM_UID=$(getent passwd ${USER} | cut -d ':' -f 3) CUSTOM_GID=$(getent passwd ${USER} | cut -d ':' -f 4) @@ -16,4 +20,4 @@ ${CONTAINER_RUNTIME} run \ --volume ${REPO_DIR}:${REPO_DIR} \ --workdir ${REPO_DIR} \ --user ${CUSTOM_UID}:${CUSTOM_GID} \ - docker.io/volkerraschek/createrepo:${CREATEREPO_IMAGE_VERSION} ${@} + ${CREATEREPO_IMAGE_FULLY_QUALIFIED} ${@} diff --git a/renovate.json b/renovate.json index 629b3b6..6e6f887 100644 --- a/renovate.json +++ b/renovate.json @@ -22,13 +22,15 @@ "rebaseWhen": "behind-base-branch", "regexManagers": [ { - "description": "Update version", + "description": "Update container image of createrepo.sh", "fileMatch": [ - "^Makefile$" + "^createrepo.sh$" ], "matchStrings": [ - "CREATE_REPO_VERSION\\?=(?.*) # renovate: datasource=(?.*) depName=(?.*)( lookupName=(?.*))?( versioning=(?.*))?" - ] + "^CREATEREPO_IMAGE_NAME=(?.*)$", + "^CREATEREPO_IMAGE_VERSION=(?.*)$" + ], + "datasourceTemplate": "docker" } ] }