Skip to content

fix(github): Support redis/argocd-extension-installer to Renovate #3106

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

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
},
{
"matchPackagePatterns": ["argoprojlabs/argocd-extension-installer"],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ref: #3072 (comment)

           "prTitle": "chore(deps): update quay.io/argoprojlabs/argocd-extension-installer docker tag to v0.0.8",
           "upgrades": [
             {
               "datasource": "docker",
               "depName": "quay.io/argoprojlabs/argocd-extension-installer",
               "displayPending": "",
               "fixedVersion": "v0.0.5",
               "currentVersion": "v0.0.5",
               "currentValue": "v0.0.5",
               "newValue": "v0.0.8",
               "newVersion": "v0.0.8",
               "packageFile": "charts/argo-cd/values.yaml",
               "updateType": "patch",
               "packageName": "quay.io/argoprojlabs/argocd-extension-installer"
             }
           ]

"commitMessagePrefix": "chore({{{replace 'argoprojlabs/' '' depName}}}):",
"commitMessagePrefix": "chore({{{replace '*' 'argo-cd' depName}}}):",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The 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 ....? 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you go through this list here?
https://docs.renovatebot.com/templates/

I'd start with either parentDir or somerhing based on packageFile.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The 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. 🙋

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a commit for this. 🙏
7f74bba

"postUpgradeTasks": {
"commands": ["./scripts/renovate-bump-version.sh {{depName}}"]
}
Expand All @@ -110,7 +110,7 @@
},
{
"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}}"]
}
Expand Down
Loading