From effcd31651c60e6bbd7db8e96a44d1278fa4bd39 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 19 Jan 2022 20:57:17 +0300 Subject: refactor: Replace 'meta.ci' -> 'meta.ci.skip' We need 'meta.ci' to be an attribute set for new CI features. Change-Id: I83d04e2d74e42e49fe739b049ee4ba799f6d5d86 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5007 Tested-by: BuildkiteCI Reviewed-by: ezemtsov Reviewed-by: wpcarro --- default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index db2c503559..bd2c6012fb 100644 --- a/default.nix +++ b/default.nix @@ -65,10 +65,10 @@ let # To determine build targets, we walk through the depot tree and # fetch attributes that were imported by readTree and are buildable. # - # Any build target that contains `meta.ci = false` will be skipped. + # Any build target that contains `meta.ci.skip = true` will be skipped. # Is this tree node eligible for build inclusion? - eligible = node: (node ? outPath) && (node.meta.ci or true); + eligible = node: (node ? outPath) && (!node.meta.ci.skip or true); in readTree.fix(self: (readDepot { depot = self; -- cgit 1.4.1