Delete .github/renovate-config.js
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
parent
9bc3a1a6e4
commit
8fabfd3e76
|
@ -1,81 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
dryRun: false,
|
|
||||||
username: "truecharts-admin",
|
|
||||||
gitAuthor: "truecharts-admin <bot@truecharts.org>",
|
|
||||||
onboarding: false,
|
|
||||||
platform: "github",
|
|
||||||
repositories: ["truecharts/charts"],
|
|
||||||
allowPostUpgradeCommandTemplating: true,
|
|
||||||
allowedPostUpgradeCommands: ["^.*"],
|
|
||||||
regexManagers: [
|
|
||||||
{
|
|
||||||
fileMatch: ["(^|/)Chart\\.yaml$"],
|
|
||||||
matchStrings: [
|
|
||||||
'#\\s?renovate: image=(?<depName>.*?)\\s?appVersion:\\s?\\"?(?<currentValue>[\\w+\\.\\-]*)',
|
|
||||||
],
|
|
||||||
datasourceTemplate: "docker",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
packageRules: [
|
|
||||||
{
|
|
||||||
matchManagers: ["helm-requirements", "helm-values", "regex"],
|
|
||||||
datasources: ["docker"],
|
|
||||||
matchUpdateTypes: ["major"],
|
|
||||||
postUpgradeTasks: {
|
|
||||||
commands: [
|
|
||||||
` version=$(grep '^version:' {{{packageFileDir}}}/Chart.yaml | awk '{print $2}')
|
|
||||||
major=$(echo $version | cut -d. -f1)
|
|
||||||
minor=$(echo $version | cut -d. -f2)
|
|
||||||
patch=$(echo $version | cut -d. -f3)
|
|
||||||
major=$(expr major + 1)
|
|
||||||
echo "Replacing $version with $major.$minor.$patch"
|
|
||||||
sed -i "s/^version:.*/version: $\{major\}.$\{minor\}.$\{patch\}/g" {{{packageFileDir}}}/Chart.yaml
|
|
||||||
cat {{{packageFileDir}}}/Chart.yaml
|
|
||||||
`,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
fileFilters: ["**/Chart.yaml"],
|
|
||||||
executionMode: "branch",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
matchManagers: ["helm-requirements", "helm-values", "regex"],
|
|
||||||
datasources: ["docker"],
|
|
||||||
matchUpdateTypes: ["minor"],
|
|
||||||
postUpgradeTasks: {
|
|
||||||
commands: [
|
|
||||||
` version=$(grep '^version:' {{{packageFileDir}}}/Chart.yaml | awk '{print $2}')
|
|
||||||
major=$(echo $version | cut -d. -f1)
|
|
||||||
minor=$(echo $version | cut -d. -f2)
|
|
||||||
patch=$(echo $version | cut -d. -f3)
|
|
||||||
minor=$(expr $minor + 1)
|
|
||||||
echo "Replacing $version with $major.$minor.$patch"
|
|
||||||
sed -i "s/^version:.*/version: $\{major\}.$\{minor\}.$\{patch\}/g" {{{packageFileDir}}}/Chart.yaml
|
|
||||||
cat {{{packageFileDir}}}/Chart.yaml
|
|
||||||
`,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
fileFilters: ["**/Chart.yaml"],
|
|
||||||
executionMode: "branch",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
matchManagers: ["helm-requirements", "helm-values", "regex"],
|
|
||||||
datasources: ["docker"],
|
|
||||||
matchUpdateTypes: ["patch", "digest", "pin"],
|
|
||||||
postUpgradeTasks: {
|
|
||||||
commands: [
|
|
||||||
` version=$(grep '^version:' {{{packageFileDir}}}/Chart.yaml | awk '{print $2}')
|
|
||||||
major=$(echo $version | cut -d. -f1)
|
|
||||||
minor=$(echo $version | cut -d. -f2)
|
|
||||||
patch=$(echo $version | cut -d. -f3)
|
|
||||||
patch=$(expr patch + 1)
|
|
||||||
echo "Replacing $version with $major.$minor.$patch"
|
|
||||||
sed -i "s/^version:.*/version: $\{major\}.$\{minor\}.$\{patch\}/g" {{{packageFileDir}}}/Chart.yaml
|
|
||||||
cat {{{packageFileDir}}}/Chart.yaml
|
|
||||||
`,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
fileFilters: ["**/Chart.yaml"],
|
|
||||||
executionMode: "branch",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
|
Loading…
Reference in New Issue