kubefirst / gitops-template

a template of gitops infrastucture for consumption by kubefirst users
MIT License
55 stars 51 forks source link

feat: add auto bump version ops template #695

Open DrummyFloyd opened 6 months ago

DrummyFloyd commented 6 months ago

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

fharper commented 6 months ago

Thanks for this PR @DrummyFloyd . Will check with the engineering team what auto updating these dependencies would mean for kubefirst.

DrummyFloyd commented 6 months ago

Thank for the review , do not hesitate if you want more info !