fix(ci): add package rules
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus Pesch 2022-01-30 16:21:23 +01:00
parent 3fc6dcd3fa
commit 9a58c7c040
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
3 changed files with 26 additions and 6 deletions

View File

@ -1,7 +1,7 @@
FROM docker.io/library/php:7.4-apache FROM docker.io/library/php:7.4-apache
# POSTFIXADMIN VERSION # POSTFIXADMIN VERSION
ARG POSTFIXADMIN_VERSION=3.3.9 ARG POSTFIXADMIN_VERSION
# APACHE # APACHE
ENV APACHE_DOCUMENT_ROOT /var/www/html/public ENV APACHE_DOCUMENT_ROOT /var/www/html/public

View File

@ -1,3 +1,7 @@
# POSTFIXADMIN_VERSION
# Only required to install a specifiy version
POSTFIXADMIN_VERSION?=3.3.9
# CONTAINER_RUNTIME # CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a # 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. # container runtime. This is needed to start and run a container image.

View File

@ -1,22 +1,38 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automerge": false, "assignees": [ "volker.raschek" ],
"automergeStrategy": "merge-commit", "automergeStrategy": "merge-commit",
"automergeType": "pr", "automergeType": "pr",
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"addLabels": [ "renovate/postfixadmin", "renovate/automerge" ],
"automerge": false,
"matchPackageNames": [ "postfixadmin" ],
"matchManagers": [ "regex" ]
}
],
"rebaseLabel": "renovate/rebase", "rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch", "rebaseWhen": "behind-base-branch",
"regexManagers": [ "regexManagers": [
{ {
"description": "Update postfixadmin git tag", "description": "Update postfixadmin git tag",
"fileMatch": [ "fileMatch": [
"^Dockerfile$" "^Makefile$"
], ],
"matchStrings": [ "matchStrings": [
"ARG POSTFIXADMIN_VERSION=(?<currentValue>.*?)\n" "POSTFIXADMIN_VERSION\\?=(?<currentValue>.*?)\n"
], ],
"depNameTemplate": "postfixadmin/postfixadmin",
"datasourceTemplate": "github-tags", "datasourceTemplate": "github-tags",
"versioningTemplate": "regex:^(postfixadmin-)?(v)?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\s" "depNameTemplate": "postfixadmin",
"lookupNameTemplate": "postfixadmin/postfixadmin",
"versioningTemplate": "regex:^(postfixadmin-)?(v)?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\s$"
} }
] ]
} }