mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-22 03:51:27 +00:00
reduce sleep after failure time to 1500 seconds
This commit is contained in:
parent
69dd80d065
commit
eec1c639ec
|
@ -175,7 +175,7 @@ steps:
|
|||
environment:
|
||||
DOMAIN:
|
||||
from_secret: DOMAIN
|
||||
TIMEOUT: 3000
|
||||
TIMEOUT: 1500
|
||||
commands:
|
||||
- timer=0; while [ "$timer" -lt "$TIMEOUT" ]; do nix shell --inputs-from git+https://git.selfprivacy.org/alexoundos/selfprivacy-tests.git nixpkgs#netcat -c nc -zv -w4 "$DOMAIN" 22; echo "$((TIMEOUT - timer)) seconds remain before teardown - login via ssh to shutdown the machine"; ((timer+=10)); sleep 10; done
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue