15335e7b3d
This expands builds to also be triggered for updates to CL refs. The message displayed on Buildkite will contain a link back to the CL (& patchset) from which the build was triggered. Change-Id: Ib36dee454aeb11d623b89c78b384359ee7ea3477 Reviewed-on: https://cl.tvl.fyi/c/depot/+/708 Reviewed-by: ericvolp12 <ericvolp12@gmail.com> Reviewed-by: isomer <isomer@tvl.fyi>
21 lines
668 B
Nix
21 lines
668 B
Nix
# This file configures the primary build pipeline used for the
|
|
# top-level list of depot targets.
|
|
#
|
|
# It outputs a "YAML" (actually JSON) file which is evaluated and
|
|
# submitted to Buildkite at the start of each build. This means we can
|
|
# dynamically configure the pipeline execution here.
|
|
{ depot, pkgs, ... }:
|
|
|
|
let
|
|
inherit (builtins) toJSON;
|
|
inherit (pkgs) writeText;
|
|
|
|
# This defines the build pipeline, using the pipeline format
|
|
# documented on https://buildkite.com/docs/pipelines/defining-steps
|
|
pipeline.steps = [
|
|
{
|
|
command = "nix-build -A ciBuilds.__allTargets";
|
|
label = ":duck:";
|
|
}
|
|
];
|
|
in writeText "depot.yaml" (toJSON pipeline)
|