about summary refs log tree commit diff
path: root/views
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-03-28T07·40+0300
committerclbot <clbot@tvl.fyi>2023-03-28T09·42+0000
commit08bf03a3d89f0c18b296099ac7c0f37793b97d4d (patch)
tree0e25f2df6d8a272e66df4eb2a05a8e3ed92e4e3f /views
parentb340b8a57fc1844eabcf43c46bea8063990db9b7 (diff)
refactor(views): move view export configuration to //views r/6052
Change-Id: I064b996fd52134b7e83541ea1190774c51a8ba30
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8359
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'views')
-rw-r--r--views/default.nix20
1 files changed, 20 insertions, 0 deletions
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;
+    };
+  })
+