kubewarden-controller icon indicating copy to clipboard operation
kubewarden-controller copied to clipboard

Simplify the release process

Open flavio opened this issue 2 years ago • 4 comments

Currently the release process of the controller is somehow complicated. These are currently some of the pain point of the release process:

  • Creating the changelong is painful. The make target we have is creating a Changelog that needs manual fixes before being committed
  • Updating the helm charts is painful: the new version of the controller has to be written into different helm charts, inside of different parts of them (explicit keys and annotations for rancher helm chart)

We need to do some changes in order to simplify our release process:

  • [x] #350
  • [x] https://github.com/kubewarden/kubewarden-controller/issues/351
  • [ ] https://github.com/kubewarden/kubewarden-controller/issues/352
  • [ ] https://github.com/kubewarden/policy-server/issues/375
  • [ ] https://github.com/kubewarden/policy-server/issues/376
  • [x] https://github.com/kubewarden/kwctl/issues/365
  • [ ] https://github.com/kubewarden/kwctl/issues/366
  • [ ] https://github.com/kubewarden/helm-charts/issues/159
  • [ ] https://github.com/kubewarden/helm-charts/issues/160
  • [ ] https://github.com/kubewarden/helm-charts/issues/161
  • [ ] https://github.com/kubewarden/helm-charts/issues/162

flavio avatar Nov 10 '22 13:11 flavio

For me, the most annoying part is the changelog. I would be happy with not committing the changelog to git. Hence to release, we: Create a tag in main. This triggers the build, tests, if everything is ok, it triggers a release job, where we create the changelog from the full git history, and publish it as an artifact/release content together with the other artifacts.

viccuad avatar Nov 10 '22 14:11 viccuad

I'm fine not having the changelog inside of git, but I would definitely want it inside of the GH Releases page

flavio avatar Nov 16 '22 09:11 flavio

I'm fine not having the changelog inside of git, but I would definitely want it inside of the GH Releases page

Me too

jvanz avatar Nov 16 '22 19:11 jvanz

I've updated the original comment from @flavio adding the latest issues created to implement the workflow described at kubewarden/kubewarden-controller#350 .

jvanz avatar Nov 24 '22 13:11 jvanz

All the tasks are done. Closing this...

jvanz avatar Mar 15 '23 13:03 jvanz