diff options
author | Vincent Ambo <mail@tazj.in> | 2022-01-22T11·45+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-01-22T11·59+0000 |
commit | cb107c4fbedf8ae358530839f257494267610cd6 (patch) | |
tree | 0a91c20f26f5b657b7e556d01c4c22a43a82c025 | |
parent | 5a88e47b71ed20c4c0f0102f3ed3f8dc3ec4b454 (diff) |
feat(ops/pipelines): Upload post-build steps in static pipeline r/3658
Change-Id: I5ce6d51837c734951fe10c4f21806cf0fc57ed23 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5048 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
-rw-r--r-- | ops/pipelines/static-pipeline.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ops/pipelines/static-pipeline.yaml b/ops/pipelines/static-pipeline.yaml index 4a844561e63d..ad887d0ff610 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. # |