73c862279a
This file represents the static pipeline which is configured in the Buildkite web UI. Updates to this file should be applied in the admin interface. These steps are responsible for launching the dynamic pipeline evaluation, or falling back to the fallback pipeline if evaluation fails. Change-Id: I6d7dd623cde65e8c69faea729f737c9bba00c2fb Reviewed-on: https://cl.tvl.fyi/c/depot/+/2103 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
15 lines
527 B
YAML
15 lines
527 B
YAML
# 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
|