more ci optimizations
This commit is contained in:
parent
c9399d7358
commit
c6ae8be83b
|
@ -110,7 +110,7 @@ case "$1" in
|
||||||
[ -z "$FORGEJO_USER" ] && FORGEJO_USER=forgejo
|
[ -z "$FORGEJO_USER" ] && FORGEJO_USER=forgejo
|
||||||
sudo -u $FORGEJO_USER USER=$FORGEJO_USER \
|
sudo -u $FORGEJO_USER USER=$FORGEJO_USER \
|
||||||
HOME=$FORGEJO_HOME GITEA_WORK_DIR=$FORGEJO_HOME \
|
HOME=$FORGEJO_HOME GITEA_WORK_DIR=$FORGEJO_HOME \
|
||||||
forgejo web --config /etc/forgejo/app.ini &
|
forgejo web -q --config /etc/forgejo/app.ini &
|
||||||
sleep 10
|
sleep 10
|
||||||
curl http://localhost:3000/ | grep -A 4 "Powered by Forgejo"
|
curl http://localhost:3000/ | grep -A 4 "Powered by Forgejo"
|
||||||
exit $?
|
exit $?
|
||||||
|
@ -124,9 +124,9 @@ case "$1" in
|
||||||
apt install "$3"
|
apt install "$3"
|
||||||
sudo -u forgejo USER=forgejo \
|
sudo -u forgejo USER=forgejo \
|
||||||
HOME=/var/lib/forgejo GITEA_WORK_DIR=/var/lib/forgejo \
|
HOME=/var/lib/forgejo GITEA_WORK_DIR=/var/lib/forgejo \
|
||||||
forgejo web --config /etc/fogejo/app.ini &
|
forgejo web -q --config /etc/fogejo/app.ini &
|
||||||
sleep 10
|
sleep 10
|
||||||
curl http://localhost:3000/
|
curl http://localhost:3000/ | grep -A 4 "Powered by Forgejo"
|
||||||
exit $?
|
exit $?
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue