From 93812c38b0f0ee18eb2399222661b283f2e05055 Mon Sep 17 00:00:00 2001 From: Finn Date: Tue, 28 Jan 2025 13:30:09 -0800 Subject: [PATCH] renovate: install required tooling before post-upgrade running helm/render-all.sh --- k8s/forgejo/renovate/config.js | 2 +- renovate.json | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/k8s/forgejo/renovate/config.js b/k8s/forgejo/renovate/config.js index bbb0fcd..2b66321 100644 --- a/k8s/forgejo/renovate/config.js +++ b/k8s/forgejo/renovate/config.js @@ -4,7 +4,7 @@ module.exports = { gitAuthor: 'Renovate Bot ', platform: 'gitea', allowScripts: true, - allowedPostUpgradeCommands: [ + allowedCommands: [ ".*" ] }; diff --git a/renovate.json b/renovate.json index a33a7d1..0712a7a 100644 --- a/renovate.json +++ b/renovate.json @@ -7,5 +7,13 @@ "ignorePaths": [ "**/bundle.yaml" ] + }, + "postUpgradeTasks": { + "commands": [ + "install-tool kubectl v1.32.1", + "install-tool helm v3.17.0", + "helm/render-all.sh" + ], + "executionMode": "update" } }