From 08bf03a3d89f0c18b296099ac7c0f37793b97d4d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 28 Mar 2023 10:40:04 +0300 Subject: refactor(views): move view export configuration to //views Change-Id: I064b996fd52134b7e83541ea1190774c51a8ba30 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8359 Autosubmit: tazjin Reviewed-by: flokli Tested-by: BuildkiteCI --- views/default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 views/default.nix (limited to 'views/default.nix') diff --git a/views/default.nix b/views/default.nix new file mode 100644 index 000000000000..886889ad03f1 --- /dev/null +++ b/views/default.nix @@ -0,0 +1,20 @@ +# Export configuration for the views. +{ depot, pkgs, ... }: + +let + export-tvix = depot.tools.releases.filteredGitPush { + filter = ":workspace=views/tvix"; + remote = "git@github.com:tvlfyi/tvix.git"; + ref = "refs/heads/canon"; + }; +in +(pkgs.runCommandLocal "export-views" { } + '' + echo "no-op carrier target for repo export steps" | tee $out + '').overrideAttrs + (_: { + meta.ci.extraSteps = { + inherit export-tvix; + }; + }) + -- cgit 1.4.1