From eec1c639ece3c301aa186ecb132bfa0cda2befc4 Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Tue, 26 Dec 2023 18:53:16 +0400 Subject: [PATCH] reduce sleep after failure time to 1500 seconds --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 39fff14..2b8f363 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: