tvl-depot/views/default.nix
Vincent Ambo bf88421dc7 feat(views): export tvl-kit view
Change-Id: I739adb7d32d03294f8ec9962c3d93e35842af83b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8360
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
2023-03-28 09:42:13 +00:00

26 lines
633 B
Nix

# 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";
};
export-kit = depot.tools.releases.filteredGitPush {
filter = ":workspace=views/kit";
remote = "git@github.com:tvlfyi/kit.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 export-kit;
};
})