Auto-Unblock Pipelines on a Timer


#1

We’re migrating a set of pipelines from GoCD to Buildkite, and we have a requirement to unblock pipelines overnight in various regions. Currently we’re implementing this with a regular “block” step, and a separate scheduled build that auto-unblocks other pipelines (we’ll have to script this using the GraphQL API).

What we’d like to be able to do is something like this:

steps:
  - block: "Deploy? (Automatically unblocks @ 3AM)"
    schedule_unblock: "0 3 * * *"

  - command: scripts/deploy.sh

This way the step will be auto-unblocked at 3AM.

Is this something that could be considered, or should it be implemented with a plugin?