diff options
Diffstat (limited to '.ci-make.sh')
| -rwxr-xr-x | .ci-make.sh | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/.ci-make.sh b/.ci-make.sh index 6b3268a..83b1de3 100755 --- a/.ci-make.sh +++ b/.ci-make.sh @@ -116,5 +116,19 @@ case "$1" in  		curl http://localhost:3000/  		exit $?  		;; +	"install-repo-test") +		apt update +		apt install -y ./"$2" +		apt update +		apt upgrade -y +		apt update +		apt install "$3" +		sudo -u forgejo USER=forgejo \ +			HOME=/var/lib/forgejo GITEA_WORK_DIR=/var/lib/forgejo \ +			forgejo --web --config /etc/fogejo/app.ini & +		sleep 10 +		curl http://localhost:3000/ +		exit $? +		;;  esac  | 
