refactor: refocus the script purpose

This commit is contained in:
decentral1se 2022-01-02 14:05:02 +01:00
parent 93c7612efc
commit 7596a67ad5
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 18 additions and 2 deletions

View File

@ -1,5 +1,11 @@
#!/bin/bash #!/bin/bash
# the goal of this script is to ensure basic core functionality is working
# before we make new releases. we try to make a balance between manual testing
# and automated testing, i.e. we don't invest too much time in a fragile
# automation that costs us more time to maintain and instead just do the test
# manually. it is a balance which we figure out together.
set -ex set -ex
ABRA="$HOME/.local/bin/abra -d" ABRA="$HOME/.local/bin/abra -d"
@ -108,9 +114,19 @@ $ABRA recipe lint gitea
# ======================================================================== # ========================================================================
# server command # server command
# ======================================================================== # ========================================================================
$ABRA -n server new -p hetzner-cloud --hn e2e
# echo "" # TODO: add --no-domain-check to server add
# echo "" # TODO: figure out how to pass a password for ssh password auth
# TODO: how to deploy traefik daemonless mode?
$ABRA server add -p -t e2e root "TODO-PASSWORD"
$ABRA server ls | grep -q e2e
$ABRA -n server rm -s -p hetzner-cloud --hn e2e
echo ""
echo ""
# ======================================================================== # ========================================================================
# app command # app command