forked from toolshed/abra
		
	refactor: refocus the script purpose
This commit is contained in:
		| @ -1,5 +1,11 @@ | ||||
| #!/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 | ||||
| 
 | ||||
| ABRA="$HOME/.local/bin/abra -d" | ||||
| @ -108,9 +114,19 @@ $ABRA recipe lint gitea | ||||
| # ======================================================================== | ||||
| # server command | ||||
| # ======================================================================== | ||||
| $ABRA -n server new -p hetzner-cloud --hn e2e | ||||
| 
 | ||||
| # echo "" | ||||
| # echo "" | ||||
| # 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 | ||||
		Reference in New Issue
	
	Block a user