fix(github): Support redis/argocd-extension-installer to Renovate
Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
89f40fd001
commit
37797625ad
2 changed files with 15 additions and 1 deletions
|
@ -97,6 +97,13 @@
|
||||||
"commands": ["./scripts/renovate-bump-version.sh {{depName}}"]
|
"commands": ["./scripts/renovate-bump-version.sh {{depName}}"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"matchPackagePatterns": ["argoprojlabs/argocd-extension-installer"],
|
||||||
|
"commitMessagePrefix": "chore({{{replace 'argoprojlabs/' '' depName}}}):",
|
||||||
|
"postUpgradeTasks": {
|
||||||
|
"commands": ["./scripts/renovate-bump-version.sh {{depName}}"]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"matchPackagePatterns": ["redis-ha"],
|
"matchPackagePatterns": ["redis-ha"],
|
||||||
"enabled": false
|
"enabled": false
|
||||||
|
|
|
@ -10,7 +10,14 @@ chartName=$(echo "$depName" | sed -e "s+^argoproj/++" -e "s+^argoproj-labs/++")
|
||||||
echo "Changed chart name is: $chartName"
|
echo "Changed chart name is: $chartName"
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
|
|
||||||
parentDir="charts/${chartName}"
|
case "${chartName}" in
|
||||||
|
*"redis"*|*"argocd-extension-installer")
|
||||||
|
parentDir="charts/argo-cd"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
parentDir="charts/${chartName}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Bump the chart version by one patch version
|
# Bump the chart version by one patch version
|
||||||
version=$(grep '^version:' "${parentDir}/Chart.yaml" | awk '{print $2}')
|
version=$(grep '^version:' "${parentDir}/Chart.yaml" | awk '{print $2}')
|
||||||
|
|
Loading…
Reference in a new issue