Closed raynix closed 6 years ago
We spoke about this over email! But here, for posterity, you can do this by splitting your pipeline into two pieces, and only uploading the second after it should be unblockable.
# .buildkite/pipeline.yml
steps:
- command: echo building a thing
- block: Test the thing?
- command: echo testing a thing
- wait
- command: buildkite-agent pipeline upload .buildkite/pipeline.deploy.yml
# .buildkite/pipeline.deploy.yml
steps:
- block: Deploy the thing?
- command: echo deploy the thing
The first one does a couple of steps and includes a block step, and only uploads the second pipeline at the very end, meaning the deploy button won't appear or be unblockable until you know that it's a deployable build.
pack and deliver
step locked down(greyed out) untildeploy for QA
is successful.