Time-delayed Holds
J
Jamie Talbot
Currently, you can hold for manual approval:
workflows:
deploy:
jobs:
- deploy-staging
- hold:
type: approval
requires: deploy-staging
- deploy-production
requires: hold
It would be great if you could automatically continue the worfklow by default with a time-delay. For example:
workflows:
deploy:
jobs:
- deploy-staging
- hold:
type: delay
window: '1 hour'
requires: deploy-staging
- deploy-production
requires: hold
This would allow continuation by default after the specified amount of time, with human intervention required to cancel the build if problems are spotted.
A scheduled trigger doesn’t quite get to the same need, as that limits the number of deploys to say “every hour”, potentially batching up multiple changes, rather than being triggered for each individual build.
CCI-I-209
Merged in a post:
Feature for "Quiet Period" or "Inactive Period"
M
Michael Nguyen
Often times a handful of commits will come in at once. Developers will make a commit, realize they made a mistake, and quickly make another commit to fix it. Instead of building each of those commits individually, wasting compute time and resources, wait a configurable amount of time after every commit before building.ex. Commit comes in at 1:00pm, another at 1:01pm, and another at 1:04pm. If the configured time is set at 5 minutes, the job will build at 1:09pm since there are no new commits in that 5 minute span.
CCI-I-1609