Skip to content

Commit

Permalink
Repeat server status check until false
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Chursinau committed Feb 22, 2024
1 parent 695164e commit d471f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@
nix develop --impure --command poetry run ruff check . --exit-non-zero-on-fix --fix-only --verbose
nix develop --impure --command poetry run ruff format . --verbose
nix develop --impure --command poetry build -vvv
# nix develop --impure --command poetry run blackbox/ -vvv &
nix develop --impure --command sleep 5; curl -v -X 'GET' 'http://0.0.0.0:8000/status' -H 'accept: application/json'
nix develop --impure --command poetry run blackbox/ -vvv &
nix develop --impure --command sleep 1; i=0; while [ $i -lt 5 ]; do result=$(curl -X 'GET' 'http://0.0.0.0:8000/status' -H 'accept: application/json'); [ "$result" == "True" ] && break || sleep 1; ((i+=1)); done
nix develop --impure --command poetry check --lock
)
nix flake show --all-systems --json --no-write-lock-file
Expand Down

0 comments on commit d471f55

Please sign in to comment.