Add dummy script to animate the challenge launch
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is failing Details

This commit is contained in:
nemunaire 2021-09-09 11:32:59 +02:00
parent 7c2bb0df23
commit 48b65e0d39
1 changed files with 29 additions and 0 deletions

29
configs/anim-start-challenge.sh Executable file
View File

@ -0,0 +1,29 @@
#!/bin/sh
echo "Launching challenge..."
echo
curl -s admin-challenge:8081/admin/api/settings.json | jq "{start:.start, end:.end}"
echo
for i in `seq 30 -1 1`
do
echo -n "."
sleep 0.036
done
echo
curl -s admin-challenge:8081/admin/api/settings.json | jq .
for i in `seq 40 -1 1`
do
echo -n "."
sleep 0.02
done
echo
echo "Challenge started!" | figlet
echo
echo
echo