feat(hive): ensure purity of cache-node.sh
Some checks failed
Run pre-commit on all files / check (push) Successful in 24s
Check meta / check_dns (pull_request) Successful in 19s
Check meta / check_meta (pull_request) Failing after 20s
Check workflows / check_workflows (pull_request) Successful in 26s
Build all the nodes / ap01 (pull_request) Failing after 1m6s
Build all the nodes / bridge01 (pull_request) Successful in 1m33s
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 / geo01 (pull_request) Has been cancelled
Build all the nodes / storage01 (pull_request) Has been cancelled
Build all the nodes / geo02 (pull_request) Has been cancelled
Build all the nodes / rescue01 (pull_request) Has been cancelled
Build all the nodes / compute01 (pull_request) Has been cancelled
Run pre-commit on all files / check (pull_request) Successful in 23s

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
Ryan Lahfa 2024-12-08 15:16:21 +01:00 committed by Tom Hubrecht
parent e94d6fd16e
commit e89ed2d0e7
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -3,6 +3,9 @@ set -o nounset
set -o pipefail set -o pipefail
shopt -s lastpipe shopt -s lastpipe
# Remove the `nixpkgs=` default input.
export NIX_PATH="nixpkgs="
system_type="$(colmena eval -E "{ nodes, ... }: nodes.${BUILD_NODE}.config.deployment.systemType" --show-trace)" system_type="$(colmena eval -E "{ nodes, ... }: nodes.${BUILD_NODE}.config.deployment.systemType" --show-trace)"
# Get rid of surrounding quotes. # Get rid of surrounding quotes.
system_type="${system_type%\"}" system_type="${system_type%\"}"