From a027ee9f03c33ecb859139d08823da9bdf438b64 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 2 Jun 2022 17:01:05 +0000 Subject: 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 Tested-by: BuildkiteCI --- nix/buildkite/default.nix | 2 +- ops/pipelines/static-pipeline.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nix/buildkite/default.nix b/nix/buildkite/default.nix index 2b3b3fd9c0..f071b88f9c 100644 --- a/nix/buildkite/default.nix +++ b/nix/buildkite/default.nix @@ -203,7 +203,7 @@ rec { ++ postBuildSteps; buildChunks = pipelineChunks "build" buildSteps; - postBuildChunks = pipelineChunks "post" postSteps; + postBuildChunks = pipelineChunks "release" postSteps; chunks = buildChunks ++ postBuildChunks; in runCommandNoCC "buildkite-pipeline" { } '' diff --git a/ops/pipelines/static-pipeline.yaml b/ops/pipelines/static-pipeline.yaml index 2e35a8a179..bd7491110c 100644 --- a/ops/pipelines/static-pipeline.yaml +++ b/ops/pipelines/static-pipeline.yaml @@ -100,8 +100,8 @@ steps: exit 1 fi - # After duck, on success, upload and run any post-build steps that - # were output by the dynamic pipeline. + # After duck, on success, upload and run any release steps that were + # output by the dynamic pipeline. - label: ":arrow_heading_down:" depends_on: - step: ":duck:" @@ -111,6 +111,6 @@ steps: 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 done -- cgit 1.4.1