diff --git a/ops/pipelines/static-pipeline.yaml b/ops/pipelines/static-pipeline.yaml index 4a844561e..ad887d0ff 100644 --- a/ops/pipelines/static-pipeline.yaml +++ b/ops/pipelines/static-pipeline.yaml @@ -95,6 +95,21 @@ steps: exit 1 fi + # After duck, on success, upload and run any post-build steps that + # were output by the dynamic pipeline. + - label: ":arrow_heading_down:" + depends_on: + - step: ":duck:" + allow_failure: false + command: | + set -ueo pipefail + + buildkite-agent artifact download "pipeline/*" . + + find ./pipeline -name 'post-chunk-*.json' | tac | while read chunk; do + buildkite-agent pipeline upload $$chunk + done + # After duck, on success, create a gcroot if the build branch is # canon. #