fix(ci): package rules for rpm-builder
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
eea3df11e5
commit
46a834bc63
@ -1,6 +1,6 @@
|
||||
FROM docker.io/library/rust:slim-buster AS build
|
||||
|
||||
ARG RPMBUILDER_VERSION=master
|
||||
ARG RPMBUILDER_VERSION
|
||||
|
||||
# install dependencies
|
||||
RUN set -e && \
|
||||
|
5
Makefile
5
Makefile
@ -1,3 +1,7 @@
|
||||
# RPMBUILDER_VERSION
|
||||
# Only required to install a specifiy version
|
||||
RPMBUILDER_VERSION?=v0.8.1 # renovate: datasource=github-releases depName=rpm-builder lookupName=Richterrettich/rpm-builder versioning=semver
|
||||
|
||||
# CONTAINER_RUNTIME
|
||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
||||
# container runtime. This is needed to start and run a container image.
|
||||
@ -19,6 +23,7 @@ RPMBUILDER_IMAGE_UNQUALIFIED=${RPMBUILDER_IMAGE_NAMESPACE}/${RPMBUILDER_IMAGE_NA
|
||||
PHONY:=container-image/build
|
||||
container-image/build:
|
||||
${CONTAINER_RUNTIME} build \
|
||||
--build-arg RPMBUILDER_VERSION=${RPMBUILDER_VERSION} \
|
||||
--file Dockerfile \
|
||||
--no-cache \
|
||||
--pull \
|
||||
|
@ -1,8 +1,34 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"automerge": true,
|
||||
"assignees": [ "volker.raschek" ],
|
||||
"automergeStrategy": "merge-commit",
|
||||
"automergeType": "pr",
|
||||
"labels": [ "renovate" ],
|
||||
"packageRules": [
|
||||
{
|
||||
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
|
||||
"automerge": true,
|
||||
"matchManagers": "droneci",
|
||||
"matchUpdateTypes": [ "minor", "patch"]
|
||||
},
|
||||
{
|
||||
"addLabels": [ "renovate/rpm-builder", "renovate/automerge" ],
|
||||
"automerge": false,
|
||||
"matchPackageNames": [ "rpm-builder" ],
|
||||
"matchManagers": [ "regex" ]
|
||||
}
|
||||
],
|
||||
"rebaseLabel": "renovate/rebase",
|
||||
"rebaseWhen": "behind-base-branch"
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"regexManagers": [
|
||||
{
|
||||
"description": "Update version",
|
||||
"fileMatch": [
|
||||
"^Makefile$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"RPMBUILDER_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)( lookupName=(?<lookupName>.*))?( versioning=(?<versioning>.*))?"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user