ci: call ci from ci
This commit is contained in:
parent
7db02cd705
commit
8094529d53
4
ci
4
ci
@ -13,10 +13,11 @@ else
|
|||||||
tmux -2 new-session -d ${SESS}
|
tmux -2 new-session -d ${SESS}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tmux -2 attach-session -t "$NAME"
|
tmux -2 attach-session -t "$NAME" "./ci run"
|
||||||
|
|
||||||
trap ci_error INT TERM
|
trap ci_error INT TERM
|
||||||
|
|
||||||
|
if [ "$1" = "run" ]; then
|
||||||
ci_branch=$(date +"%Y%m%dT%H%M%S%z")
|
ci_branch=$(date +"%Y%m%dT%H%M%S%z")
|
||||||
can_sign=0
|
can_sign=0
|
||||||
|
|
||||||
@ -32,3 +33,4 @@ fi
|
|||||||
git checkout -b "${ci_branch}" || handle_co_fail
|
git checkout -b "${ci_branch}" || handle_co_fail
|
||||||
nix flake update --commit-lock-file || handle_update_fail
|
nix flake update --commit-lock-file || handle_update_fail
|
||||||
nix flake check || handle_check_fail
|
nix flake check || handle_check_fail
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user