feat(ops/pipelines): Upload post-build steps in static pipeline
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>
This commit is contained in:
parent
5a88e47b71
commit
cb107c4fbe
1 changed files with 15 additions and 0 deletions
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue