rancher / charts-build-scripts

Apache License 2.0
9 stars 32 forks source link

Feature Implementation of Automatic forward port of asset versions, i.e: make auto-forward-port #138

Closed nicholasSUSE closed 1 month ago

nicholasSUSE commented 2 months ago

Problem

Forward porting each asset version individually is an effortful manual work and prone to human error.

For each asset version, this was the manual process:

  1. Check if the asset version is not present at the production branch and present at development branch.

  2. Open a new local branch

  3. Clean release.yaml

  4. Add and commit.

  5. execute make forward-port

  6. Add and commit.

  7. Repeat it for every asset version and it's dependencies

  8. Push to a forked repository.

  9. Open a Pull Request to the target production branch.

  10. Review and approve PR.

  11. Monitor git-mirror.

Solution

Implement automation to reduce the amount of manual work and human intervention. This solution automates the above mentioned steps: (1 -> 8)

Results

These are the automated pushes generated by this automation:

https://github.com/rancher/charts/pull/4137 https://github.com/rancher/charts/pull/4138 https://github.com/rancher/charts/pull/4139 https://github.com/rancher/charts/pull/4140 https://github.com/rancher/charts/pull/4141 https://github.com/rancher/charts/pull/4142 https://github.com/rancher/charts/pull/4143 https://github.com/rancher/charts/pull/4144 https://github.com/rancher/charts/pull/4145 https://github.com/rancher/charts/pull/4146 https://github.com/rancher/charts/pull/4147 https://github.com/rancher/charts/pull/4148 https://github.com/rancher/charts/pull/4149 https://github.com/rancher/charts/pull/4150 https://github.com/rancher/charts/pull/4151 https://github.com/rancher/charts/pull/4152 https://github.com/rancher/charts/pull/4153 https://github.com/rancher/charts/pull/4154 https://github.com/rancher/charts/pull/4155 https://github.com/rancher/charts/pull/4156 https://github.com/rancher/charts/pull/4157 https://github.com/rancher/charts/pull/4158 https://github.com/rancher/charts/pull/4159 https://github.com/rancher/charts/pull/4160

recena commented 2 months ago

@nicholasSUSE You can use the DRAFT feature instead of [wip] prefix.