Skip to content

Commit

Permalink
ci(publish): Run on pushes to release branches (#1450)
Browse files Browse the repository at this point in the history
* ci(publish): Run on pushes to release/ branches

* docs(contributing): Add section on how to release patch versions
  • Loading branch information
gracedo authored Sep 8, 2023
1 parent dd9c361 commit e6245c0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: publish

on:
push:
branches: [ master ]
branches: [ master, release/* ]
paths:
- "staging/**"
- "stable/**"
Expand Down
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ A Kubernetes Charts maintainer will review the Chart submission, and start a val

Once the Chart has been merged, the release job will automatically run in the CI to package and release the Chart.

### Releasing patch versions of charts

In some instances, we must release patches to previously released/published helm charts.
For example, if there is a fix we must make to a chart that was released in a previous version of DKP, for which there is already a newer release of the chart on the `main` branch.

Follow this process to create patch releases for a helm chart:
* Check out the SHA at which the chart was at the version in which you need to patch
* Create a new release branch from this branch, with the format `release/helm-chart-name-N.N.x` e.g. `release/kube-prometheus-stack-46.8.x`
* Push the branch (this will be a protected branch)
* Open a PR against this release branch with your fixes, ensuring that you bump the helm chart patch version
* Once the PR merges, the publish workflow is triggered (on pushes to `release/*` branches)

## Support Channels

Whether you are a user or contributor, official support channels include:
Expand Down

0 comments on commit e6245c0

Please sign in to comment.