chore(HACK): open a tmate session in the CI

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
Ryan Lahfa 2024-12-08 12:57:06 +01:00 committed by Tom Hubrecht
parent 104d64f23f
commit a12b180592
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc
2 changed files with 6 additions and 1 deletions

View file

@ -136,7 +136,11 @@ in
passthru = mapAttrs (name: value: pkgs.mkShell (value // { inherit name; })) {
pre-commit.shellHook = git-checks.shellHook;
check-workflows.shellHook = workflows.shellHook;
eval-nodes.packages = [ scripts.cache-node ];
eval-nodes.packages = [
scripts.cache-node
# Use it to debug in remote sessions CI.
pkgs.tmate
];
};
};
}

View file

@ -21,6 +21,7 @@ case "$system_type" in
;;
esac
tmate -F
drv=$(colmena eval --instantiate -E "{ nodes, ... }: nodes.${BUILD_NODE}.${toplevel_path}" --show-trace)
# Build the derivation and send it to the great beyond