auto icon indicating copy to clipboard operation
auto copied to clipboard

Add the option to only release canaries when label present

Open just-be-dev opened this issue 4 years ago • 1 comments

What Changed

This adds a onlyReleaseCanaryOnLabel flag that can be used w/ auto shipit or auto canary. When specified a canary release will only be triggered if a canary label is present.

Why

Canaries can be noisy (and you don't always want them). Typically this sort of behavior can be handled at the CI level. Here's pr I implemented that does that for CircleCI orbs: https://github.com/auto-it/orbs/pull/7

Being able to do this natively within auto means it's easier to use for all types of CI.

Todo:

  • [x] Add tests
  • [ ] Add docs

Change Type

Indicate the type of change your pull request is:

  • [ ] documentation
  • [ ] patch
  • [x] minor
  • [ ] major

just-be-dev avatar Jun 03 '21 20:06 just-be-dev

There's a few test failures I missed there that I'll follow up on tomorrow.

just-be-dev avatar Jun 04 '21 22:06 just-be-dev

Sorry friends, don't have the capacity to pick this one back up.

just-be-dev avatar Feb 23 '24 04:02 just-be-dev