mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-22 12:01:27 +00:00
notifications during retries
This commit is contained in:
parent
149d6a8dd2
commit
d4e33a9639
|
@ -105,9 +105,11 @@ steps:
|
||||||
- nix run $TESTS_REPO#enable-service ocserv
|
- nix run $TESTS_REPO#enable-service ocserv
|
||||||
- nix run $TESTS_REPO#enable-service pleroma
|
- nix run $TESTS_REPO#enable-service pleroma
|
||||||
- nix run $TESTS_REPO#nixos-rebuild Rebuild
|
- nix run $TESTS_REPO#nixos-rebuild Rebuild
|
||||||
- counter=0; while true; do sleep 4; nix run $TESTS_REPO#query-all-services && break; [ "$counter" -lt 30 ]; ((++counter)); done
|
- sleep 60
|
||||||
|
- counter=0; while true; do sleep 10; nix run $TESTS_REPO#query-all-services && break; [ "$counter" -lt 10 ]; ((++counter)); echo "$((10 * 10 - counter * 10)) seconds remaining to retry"; done
|
||||||
- nix run $TESTS_REPO#nixos-rebuild Rollback
|
- nix run $TESTS_REPO#nixos-rebuild Rollback
|
||||||
- counter=0; while true; do sleep 4; nix run $TESTS_REPO#query-minimum-services && break; [ "$counter" -lt 30 ]; ((++counter)); done
|
- sleep 10
|
||||||
|
- counter=0; while true; do sleep 10; nix run $TESTS_REPO#query-minimum-services && break; [ "$counter" -lt 10 ]; ((++counter)); echo "$((10 * 10 - counter * 10)) seconds remaining to retry"; done
|
||||||
#- > #http -v --verify=false --check-status --ignore-stdin GET https://password.$DOMAIN/admin/diagnostics
|
#- > #http -v --verify=false --check-status --ignore-stdin GET https://password.$DOMAIN/admin/diagnostics
|
||||||
|
|
||||||
- name: sleep-after-failure
|
- name: sleep-after-failure
|
||||||
|
@ -115,7 +117,7 @@ steps:
|
||||||
DOMAIN:
|
DOMAIN:
|
||||||
from_secret: DOMAIN
|
from_secret: DOMAIN
|
||||||
commands:
|
commands:
|
||||||
- counter=0; while [ "$counter" -lt 100 ]; do sleep 10; nix shell --inputs-from git+https://git.selfprivacy.org/alexoundos/selfprivacy-tests.git nixpkgs#netcat -c nc -zv -w4 "$DOMAIN" 22; ((++counter)); done
|
- counter=0; while [ "$counter" -lt 100 ]; do sleep 10; nix shell --inputs-from git+https://git.selfprivacy.org/alexoundos/selfprivacy-tests.git nixpkgs#netcat -c nc -zv -w4 "$DOMAIN" 22; ((++counter)); echo "$((100 * 10 - counter * 10)) seconds remaining before teardown - login via ssh to shutdown the machine"; done
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- failure
|
- failure
|
||||||
|
|
Loading…
Reference in a new issue