refactor(nix/buildkite): Rename "post" steps to "release" steps
This is in preparation for a subsequent CL that will do much more significant changes in //nix/buildkite. Change-Id: I80a8d67d3a7d593854c8d711572483c2581e7881 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5824 Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
b8301ed64b
commit
a027ee9f03
2 changed files with 4 additions and 4 deletions
|
@ -203,7 +203,7 @@ rec {
|
||||||
++ postBuildSteps;
|
++ postBuildSteps;
|
||||||
|
|
||||||
buildChunks = pipelineChunks "build" buildSteps;
|
buildChunks = pipelineChunks "build" buildSteps;
|
||||||
postBuildChunks = pipelineChunks "post" postSteps;
|
postBuildChunks = pipelineChunks "release" postSteps;
|
||||||
chunks = buildChunks ++ postBuildChunks;
|
chunks = buildChunks ++ postBuildChunks;
|
||||||
in
|
in
|
||||||
runCommandNoCC "buildkite-pipeline" { } ''
|
runCommandNoCC "buildkite-pipeline" { } ''
|
||||||
|
|
|
@ -100,8 +100,8 @@ steps:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# After duck, on success, upload and run any post-build steps that
|
# After duck, on success, upload and run any release steps that were
|
||||||
# were output by the dynamic pipeline.
|
# output by the dynamic pipeline.
|
||||||
- label: ":arrow_heading_down:"
|
- label: ":arrow_heading_down:"
|
||||||
depends_on:
|
depends_on:
|
||||||
- step: ":duck:"
|
- step: ":duck:"
|
||||||
|
@ -111,6 +111,6 @@ steps:
|
||||||
|
|
||||||
buildkite-agent artifact download "pipeline/*" .
|
buildkite-agent artifact download "pipeline/*" .
|
||||||
|
|
||||||
find ./pipeline -name 'post-chunk-*.json' | tac | while read chunk; do
|
find ./pipeline -name 'release-chunk-*.json' | tac | while read chunk; do
|
||||||
buildkite-agent pipeline upload $$chunk
|
buildkite-agent pipeline upload $$chunk
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue