Skip to content

How to cut a Webhook RC

Jonathan Crowther edited this page Jan 17, 2024 · 11 revisions

Cutting a new Webhook RC

  1. Determine the next RC for the desired line.

    • If the last tag was v0.3.5-rc2, then the next tag will be v0.3.5-rc3
    • If the last tag was a release with no RC v0.3.3, then ask one of the code owners of rancher-webhook which tag to use.

    Rancher Version Webhook Branch
    v2.7 release/v0.3
    v2.6 release/v0.2
    v2.5 release/v0.1
  2. On your local machine checkout and pull the latest changes for the desired release branch.

  3. Tag HEAD

    • git tag v0.3.5-rc3
  4. Push the new tag to upstream

    • git push upstream v0.3.5-rc3
  5. Wait for CI pipeline started by the new tag to complete.

Create a new Chart for the new tag

  1. Checkout the dev branch for the desired charts line on your local fork.
  2. Create a new branch for your changes.
    • git checkout -b bump-rancher-webhook-v0.3.5-rc3
  3. In the new charts branch, update release.yaml and package.yaml with the new RC and commit your changes.
  4. Run Make Charts and commit your changes.
  5. Remove previous RC (unless this is the first RC)
  6. Open a new PR for your new branch in rancher/charts
  7. Update Rancher/Rancher to use the new webhook version