test(renovate): automerge
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2022-05-03 16:02:08 +02:00
parent 9e37f72c0a
commit 0bb533f16e
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 12 additions and 6 deletions

View File

@ -3,7 +3,11 @@
set -e set -e
CONTAINER_RUNTIME=$(which docker) 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_UID=$(getent passwd ${USER} | cut -d ':' -f 3)
CUSTOM_GID=$(getent passwd ${USER} | cut -d ':' -f 4) CUSTOM_GID=$(getent passwd ${USER} | cut -d ':' -f 4)
@ -16,4 +20,4 @@ ${CONTAINER_RUNTIME} run \
--volume ${REPO_DIR}:${REPO_DIR} \ --volume ${REPO_DIR}:${REPO_DIR} \
--workdir ${REPO_DIR} \ --workdir ${REPO_DIR} \
--user ${CUSTOM_UID}:${CUSTOM_GID} \ --user ${CUSTOM_UID}:${CUSTOM_GID} \
docker.io/volkerraschek/createrepo:${CREATEREPO_IMAGE_VERSION} ${@} ${CREATEREPO_IMAGE_FULLY_QUALIFIED} ${@}

View File

@ -22,13 +22,15 @@
"rebaseWhen": "behind-base-branch", "rebaseWhen": "behind-base-branch",
"regexManagers": [ "regexManagers": [
{ {
"description": "Update version", "description": "Update container image of createrepo.sh",
"fileMatch": [ "fileMatch": [
"^Makefile$" "^createrepo.sh$"
], ],
"matchStrings": [ "matchStrings": [
"CREATE_REPO_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)( lookupName=(?<lookupName>.*))?( versioning=(?<versioning>.*))?" "^CREATEREPO_IMAGE_NAME=(?<depName>.*)$",
] "^CREATEREPO_IMAGE_VERSION=(?<currentValue>.*)$"
],
"datasourceTemplate": "docker"
} }
] ]
} }