From dc1e86001c109b58dea733e5cb3648164d1d1dd4 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 1 Feb 2023 20:27:57 +0300 Subject: fix(tvix): add dummy target to attach extra-step to Change-Id: I594a6652e2efe7aa6e35c7cdd84fc3097660614f Reviewed-on: https://cl.tvl.fyi/c/depot/+/8009 Reviewed-by: flokli Tested-by: BuildkiteCI Autosubmit: tazjin --- tvix/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'tvix') diff --git a/tvix/default.nix b/tvix/default.nix index d99bbe7ebe18..b97d0dd00fff 100644 --- a/tvix/default.nix +++ b/tvix/default.nix @@ -58,11 +58,15 @@ in ]; }; - meta.ci.targets = [ "shell" ]; + export = (pkgs.runCommandLocal "export-tvix" { } '' + echo "carrier for repo export extra-step" > $out + '').overrideAttrs (_: { + meta.ci.extraSteps.github = depot.tools.releases.filteredGitPush { + filter = ":workspace=views/tvix"; + remote = "git@github.com:tvlfyi/tvix.git"; + ref = "refs/heads/canon"; + }; + }); - meta.ci.extraSteps.github = depot.tools.releases.filteredGitPush { - filter = ":workspace=views/tvix"; - remote = "git@github.com:tvlfyi/tvix.git"; - ref = "refs/heads/canon"; - }; + meta.ci.targets = [ "shell" "export" ]; } -- cgit 1.4.1