-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(github): Support redis/argocd-extension-installer to Renovate #3106
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,13 +97,20 @@ | |
"commands": ["./scripts/renovate-bump-version.sh {{depName}}"] | ||
} | ||
}, | ||
{ | ||
"matchPackagePatterns": ["argoprojlabs/argocd-extension-installer"], | ||
"commitMessagePrefix": "chore({{{replace '*' 'argo-cd' depName}}}):", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmmm ugly but it works for now, unless other argoproj (argo-workflows, agro-events, etc.) starts using the same image tags ....? 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you go through this list here? I'd start with either There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for your review. Oh there are many convenient ones. 😮 I will fix. 🙋 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added a commit for this. 🙏 |
||
"postUpgradeTasks": { | ||
"commands": ["./scripts/renovate-bump-version.sh {{depName}}"] | ||
} | ||
}, | ||
{ | ||
"matchPackagePatterns": ["redis-ha"], | ||
"enabled": false | ||
}, | ||
{ | ||
"matchPackagePatterns": ["public.ecr.aws/bitnami/redis-exporter"], | ||
"commitMessagePrefix": "chore({{{replace 'public.ecr.aws/' '' depName}}}):", | ||
"commitMessagePrefix": "chore({{{replace '*' 'argo-cd' depName}}}):", | ||
"postUpgradeTasks": { | ||
"commands": ["./scripts/renovate-bump-version.sh {{depName}}"] | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,14 @@ chartName=$(echo "$depName" | sed -e "s+^argoproj/++" -e "s+^argoproj-labs/++") | |
echo "Changed chart name is: $chartName" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we should refactor the whole script:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for your feedback. I will try to refactor. 📝 |
||
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 | ||
version=$(grep '^version:' "${parentDir}/Chart.yaml" | awk '{print $2}') | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ref: #3072 (comment)