test: finish first pass on core integration script

This commit is contained in:
cellarspoon 2022-01-02 15:04:49 +01:00
parent 1df69aa259
commit abf83aa641
Signed by untrusted user: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -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