From abf83aa641400441a765bbd2d62af74fece3f556 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Sun, 2 Jan 2022 15:04:49 +0100 Subject: [PATCH] test: finish first pass on core integration script --- tests/integration/core.sh | 42 +++------------------------------------ 1 file changed, 3 insertions(+), 39 deletions(-) diff --git a/tests/integration/core.sh b/tests/integration/core.sh index 00062d7d..fa3078a2 100755 --- a/tests/integration/core.sh +++ b/tests/integration/core.sh @@ -27,45 +27,30 @@ export PATH=$PATH:$HOME/.local/bin echo "choosing $ABRA as abra executable" echo "choosing $INSTALLER_URL as abra installer url" -echo "" -echo "" - # ======================================================================== # latest stable release # ======================================================================== wget -O- https://install.abra.autonomic.zone | bash ~/.local/bin/abra -v -echo "" -echo "" - # ======================================================================== # latest rc release # ======================================================================== wget -O- https://install.abra.autonomic.zone | bash -s -- --rc ~/.local/bin/abra -v -echo "" -echo "" - # ======================================================================== # upgrade to stable in-place # ======================================================================== $ABRA upgrade ~/.local/bin/abra -v -echo "" -echo "" - # ======================================================================== # upgrade to rc in-place # ======================================================================== $ABRA upgrade --rc ~/.local/bin/abra -v -echo "" -echo "" - # ======================================================================== # autocomplete # ======================================================================== @@ -73,9 +58,6 @@ $ABRA autocomplete bash $ABRA autocomplete fizsh $ABRA autocomplete zsh -echo "" -echo "" - # ======================================================================== # record command # ======================================================================== @@ -83,24 +65,16 @@ $ABRA record new -p gandi -t A -n e2e -v 192.157.2.21 coopcloud.tech $ABRA record list -p gandi coopcloud.tech | grep -q e2e $ABRA -n record rm -p gandi -t A -n e2e coopcloud.tech -echo "" -echo "" - # ======================================================================== # catalogue command # ======================================================================== $ABRA catalogue generate $ABRA catalogue generate -s gitea -echo "" -echo "" - # ======================================================================== # recipe command # ======================================================================== $ABRA recipe new testrecipe -ls ~/.abra/apps/testrecipe -cat ~/.abra/apps/testrecipe/README.md $ABRA recipe list $ABRA recipe list -p cloud @@ -109,29 +83,19 @@ $ABRA recipe versions peertube $ABRA recipe lint gitea -# echo "" -# echo "" - # ======================================================================== # server command # ======================================================================== $ABRA -n server new -p hetzner-cloud --hn e2e -# TODO: add --no-domain-check to server add -# 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 # ======================================================================== -# echo "" -# echo "" +$ABRA app ls + +$ABRA app ls -S