diff options
Diffstat (limited to 'ops/pipelines/static-pipeline.yaml')
-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 new file mode 100644 index 000000000000..515ab2cb6475 --- /dev/null +++ b/ops/pipelines/static-pipeline.yaml @@ -0,0 +1,15 @@ +# This file defines the static pipeline which is uploaded in the +# Buildkite admin interface. These steps run at the beginning of each +# build and cause the dynamic pipeline generation to run. +--- +steps: + - label: ":llama:" + command: | + function fallback() { + echo 'Using fallback pipeline ...' + buildkite-agent pipeline upload ops/pipelines/fallback.yaml + exit + } + + nix-build -A ops.pipelines.depot -o depot.yaml || fallback + buildkite-agent pipeline upload depot.yaml || fallback |