-
Notifications
You must be signed in to change notification settings - Fork 9
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
Automate the Perses version upgrade #35
Comments
Actually after sleep on it for a long time I have a better propose, we can leverage renovatebot it's kind a dependabot but with esteorids. renovate can work with complex file structure by watching different dependencies types like docker, language packages, helm and so on. we can use this kind of structure https://github.com/renovatebot/helm-charts/blob/c754175e90defed41b7981847330b23fa00b1ea4/renovate.json#L12-L21 to configure renovate to update appVersion based on the perses docker version. wdyt @Nexucis @celian-garcia ? |
I'm 100% with you but a bit biased as I'm using Renovate daily for one or two years now 😅 I can definitely help on that. Renovate has also a postupgrade config (don't remember the exact name) that would allow you to run a script after having updated the app version. Typically for your make command |
hahah I'm quite new to renovate but I'm pretty impressed by its power. |
Sure! don't hesitate to contact me directly on slack if you have questions 🙂 |
Proposal
Automate Version Update Workflow for Perses Helm Chart
Current Situation
Whenever a new version of Perses is released, we currently need to manually perform the following steps in the
perses/helm-charts
repository:appVersion
inchart.yaml
.version
inchart.yaml
.make update-helm-readme
to regenerate the README.Goal
Automate this process using a GitHub Actions workflow that identifies new releases and automatically updates the required files, then opens a pull request for review.
Proposed Solutions
Scheduled Cron Workflow
appVersion
andversion
fields inchart.yaml
.make update-helm-readme
.Repository Dispatch Event
perses/perses
repository.repository_dispatch
event can be used to trigger the update workflow inperses/helm-charts
wheneverperses/perses
releases a new version.Benefits
perses/helm-charts
repository aligned with new releases of Perses.The text was updated successfully, but these errors were encountered: