From 86350246d18841b48f8f5f934850cd2a8fa1533c Mon Sep 17 00:00:00 2001 From: Juan Jose Jaramillo Date: Mon, 22 Jan 2024 15:01:11 -0800 Subject: [PATCH] chore: Update Renovate config file --- .../reusable-release-integration.yml | 4 +--- renovate-base.json5 | 24 +++++++++++++++++-- renovate.json | 2 +- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/reusable-release-integration.yml b/.github/workflows/reusable-release-integration.yml index 801e3de..2327895 100644 --- a/.github/workflows/reusable-release-integration.yml +++ b/.github/workflows/reusable-release-integration.yml @@ -222,9 +222,7 @@ jobs: - name: Install Helm Docs run: | - wget https://github.com/norwoodj/helm-docs/releases/download/v1.11.0/helm-docs_1.11.0_Linux_x86_64.tar.gz - tar --extract --verbose --file helm-docs_1.11.0_Linux_x86_64.tar.gz - sudo mv helm-docs /usr/local/sbin + go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest - name: Run Helm Docs run: | diff --git a/renovate-base.json5 b/renovate-base.json5 index 6e4c682..f25aba0 100644 --- a/renovate-base.json5 +++ b/renovate-base.json5 @@ -18,6 +18,8 @@ // Update source import paths on major module updates, using mod. // Since postUpdateOptions is mergeable, all previous and future values are kept "postUpdateOptions": ["gomodUpdateImportPaths"], + // Ignore deprecated library that cannot be upgraded + ignoreDeps: ["ingress-nginx/kube-webhook-certgen"], // The rules defined here will be used in all core-int repositories, so they should be valid // for all of them. "packageRules": [ @@ -65,6 +67,24 @@ // check for details about grouping. "matchPackageNames": ["golang", "go"], "groupName": "golang version" - } - ] + }, + { + "groupName": "Minikube version (batch update)", + "matchDepNames": ["manusa/actions-setup-minikube", "kubernetes/minikube"], + }, + ], + "customManagers": [ + { + "description": "Update minikube", + "customType": "regex", + "fileMatch": [ + "^\.github/workflows/.+\.ya?ml$", + ], + "matchStrings": [ + "\\s+minikube version:\\s+(?v.*?)\\s+", + ], + "depNameTemplate": "kubernetes/minikube", + "datasourceTemplate": "github-releases", + }, + ], } diff --git a/renovate.json b/renovate.json index 98150b3..fb7d0df 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,5 @@ { "extends": [ - "github>newrelic/k8s-metadata-injection:renovate-base.json5" + "github>newrelic/k8s-agents-automation:renovate-base.json5" ] }