feat: add auto bump version ops template #695
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
based on this comment from slack
https://kubefirst.slack.com/archives/C03U34WJ7FW/p1703867034753859
i though to have have such automated mechanism, would be a game changer for the ops template
that's why i came with a quick implementaiton of
renovate
this bot will create PR for all argocd APP:kustomization and terraform .
i make a the default setting for the AUTOMERGE( but can be easily change in the JSON file , we can discuss about it if you want) (all config options are here
for me you can allow ALL to an AUTOmerge (in FF mode ) (fastforward merge lover here) .
because you provide a template on a one time based . so no risk to break anything on update in customer side. ( but maybe i'm wrong about it)
meanwhile,
you have to enable install the app trhough the github portal => https://github.com/apps/renovate
then i advise you to make firsly a silent config, like this you can check what is achieve by renovate.
then allow only repository where a config file is present.
more info about renovate here
edit: you can check created MR on my fork https://github.com/DrummyFloyd/gitops-template/pulls?q=is%3Apr+is%3Aclosed
to check how it's looked