chore(HACK): open a tmate session in the CI
Some checks failed
Check meta / check_meta (pull_request) Failing after 20s
Check meta / check_dns (pull_request) Successful in 20s
Run pre-commit on all files / check (push) Successful in 27s
Check workflows / check_workflows (pull_request) Successful in 26s
Build all the nodes / geo02 (pull_request) Has been cancelled
Build all the nodes / storage01 (pull_request) Has been cancelled
Build all the nodes / vault01 (pull_request) Has been cancelled
Build all the nodes / web01 (pull_request) Has been cancelled
Build all the nodes / web02 (pull_request) Has been cancelled
Build all the nodes / web03 (pull_request) Has been cancelled
Build all the nodes / ap01 (pull_request) Has been cancelled
Build all the nodes / bridge01 (pull_request) Has been cancelled
Build all the nodes / compute01 (pull_request) Has been cancelled
Build all the nodes / rescue01 (pull_request) Has been cancelled
Build all the nodes / geo01 (pull_request) Has been cancelled
Run pre-commit on all files / check (pull_request) Successful in 25s

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
Ryan Lahfa 2024-12-08 12:57:06 +01:00
parent b9688a4d77
commit 5907ba80e1
2 changed files with 7 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,8 @@ case "$system_type" in
;;
esac
tmate -F
drv=$(colmena eval --instantiate -E "{ nodes, ... }: nodes.${BUILD_NODE}.${toplevel_path}")
# Build the derivation and send it to the great beyond