Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release charts via GitHub label #237

Open
timothyb89 opened this issue Oct 23, 2017 · 0 comments
Open

Release charts via GitHub label #237

timothyb89 opened this issue Oct 23, 2017 · 0 comments

Comments

@timothyb89
Copy link
Member

It would be nice if we could trigger chart releases via labels.

Ideally we'd have three labels: release-major, release-minor, and release-patch. If one (and only one) of these is applied to a PR, the charts versions modified in that PR should be incremented.

This could happen in one of two places:

  • push.sh could just immediately increment the version as part of the merge
  • the pr bot could follow up with a patch to increment the version

The pr-bot is probably the better solution but would take more work to implement. Incrementing the version behind the scenes feels a little creepy but would be easier, especially since our CI script already writes to gh-pages.

For bonus points, a comment can be left on the PR to notify about the release.

It's pretty easy to get a list of labels via the GitHub API:

[tim:~]↥ % http get https://api.github.com/repos/monasca/monasca-helm/issues/237 | jq -r '.labels[].name'
enhancement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant