Skip to content

Commit

Permalink
Fix renovate.json groupings
Browse files Browse the repository at this point in the history
https://docs.renovatebot.com/configuration-options/#packagerules

> If multiple matchers are included in one package rule, *all of them*
> must match.

Remove the extraneous matchers that are breaking the groupings

Tested with

    $ podman run --rm -ti -v "$PWD:$PWD:z" -w "$PWD" --user=0 \
        -e LOG_LEVEL=debug \
        -e RENOVATE_PLATFORM=local \
        ghcr.io/renovatebot/renovate |
            grep 'Returning .* branch'

      DEBUG: Returning 15 branch(es) (repository=local)

In main, this returns 24 branches instead.

Signed-off-by: Adam Cmiel <[email protected]>
  • Loading branch information
chmeliik committed Dec 11, 2024
1 parent 5c1c38b commit 58950bb
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,6 @@
]
},
{
"matchPackageNames": [
"quay.io/konflux-ci/pull-request-builds",
"quay.io/konflux-ci/buildah",
"quay.io/konflux-ci/source-container-build",
"quay.io/redhat-appstudio/e2e-tests",
"quay.io/redhat-appstudio/buildah",
"quay.io/redhat-appstudio/hacbs-jvm-build-request-processor",
"quay.io/redhat-appstudio/build-definitions-source-image-build-utils",
"quay.io/redhat-appstudio/cachi2",
"quay.io/redhat-appstudio/sbom-utility-scripts-image",
"registry.access.redhat.com/rh-syft-tech-preview/syft-rhel9"
],
"groupName": "build",
"matchFileNames": [
"task/acs-deploy-check/**",
Expand Down Expand Up @@ -80,12 +68,6 @@
]
},
{
"matchPackagePrefixes": [
"quay.io/enterprise-contract/"
],
"matchPackageNames": [
"registry.redhat.io/openshift-pipelines/pipelines-cli-tkn-rhel8"
],
"groupName": "ec",
"matchFileNames": [
"task/tkn-bundle-oci-ta/**",
Expand All @@ -94,11 +76,6 @@
]
},
{
"matchPackageNames": [
"quay.io/konflux-ci/konflux-test",
"quay.io/redhat-appstudio/clair-in-ci",
"quay.io/konflux-ci/clamav-db"
],
"groupName": "integration",
"matchFileNames": [
"task/clair-scan/**",
Expand All @@ -122,21 +99,15 @@
]
},
{
"matchPackageNames": [
"quay.io/opdev/preflight"
],
"groupName": "preflight",
"matchFileNames": [
"task/ecosystem-cert-preflight-checks/**"
]
},
{
"groupName": "github-actions",
"matchManagers": [
"github-actions"
],
"matchFileNames": [
".github/workflows/**"
".github/**"
],
"schedule": [
"on sunday"
Expand Down

0 comments on commit 58950bb

Please sign in to comment.