RocketChat / helm-charts

Repository for RocketChat helm charts
36 stars 67 forks source link

New release format #110

Closed debdutdeb closed 10 months ago

debdutdeb commented 11 months ago

Previously we used to release a new chart on each rocket.chat release.

This caused us to even release older patch/minors, for example if latest rc tag is 6.3.2, chart is also 6.3.2, but, if in the middle there is another rc release, 6.2.12 for example, a new chart with the same version will also be released.

This wasn't a problem as rocketchat release process took care of any conflicts, eol timings etc.

But caused the problem of not being able to quickly ship only chart patches as they come, we'd have to wait for the next rc release to get them shpped. Not to mention the non-linear chart version-patch relation.

This pr

The pr here, lets us automatically handle chart versions and app versions independent of each other.

  1. On automatic line - if current incoming rc version is less than what is released today, it will be dropped, as in no new chart release will be created for that. Any user can set the tag manually for that case.
  2. On automatic line - if incoming rc version has a patch bump, chart version will also get a patch bump, same for minor, major. Sequence of these events will be taken care of by the main rc release process.
  3. A new manual workflow is added, with which a new chart release can be made any time, either provide rc version, or chart version or both. OR neither. If chart version is not specified, an automatic patch bump will be made.

And, here is a fun animal picture

cat-323262_1280