noninteractive
This commit is contained in:
parent
d86fd690e3
commit
c93919c98f
15
.ci-make.sh
15
.ci-make.sh
|
@ -116,11 +116,12 @@ case "$1" in
|
||||||
exit $?
|
exit $?
|
||||||
;;
|
;;
|
||||||
"install-repo-test")
|
"install-repo-test")
|
||||||
apt update
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
apt update -qq
|
||||||
apt install -y ./"$2"
|
apt install -y ./"$2"
|
||||||
apt update
|
apt update -qq
|
||||||
apt upgrade -y
|
apt upgrade -y
|
||||||
apt update
|
apt update -qq
|
||||||
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 \
|
||||||
|
@ -138,15 +139,17 @@ case "$1" in
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"force-clean-forgejo")
|
"force-clean-forgejo")
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
apt install -y psmisc
|
apt install -y psmisc
|
||||||
killall forgejo
|
killall forgejo
|
||||||
exit $?
|
exit $?
|
||||||
;;
|
;;
|
||||||
"forgejo-test-deps")
|
"forgejo-test-deps")
|
||||||
echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" > /etc/apt/sources.list.d/backports.list
|
echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" > /etc/apt/sources.list.d/backports.list
|
||||||
apt update
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
apt install --no-install-recommends -y git-lfs
|
apt update -qq
|
||||||
apt install -y -t bookworm-backports golang-1.20
|
apt install -qq --no-install-recommends -y git-lfs
|
||||||
|
apt install -qq -y -t bookworm-backports golang-1.20
|
||||||
ln -sf /usr/lib/go-1.20/bin/go /usr/local/bin/go
|
ln -sf /usr/lib/go-1.20/bin/go /usr/local/bin/go
|
||||||
adduser --quiet --comment forgejo --disabled-password forgejo
|
adduser --quiet --comment forgejo --disabled-password forgejo
|
||||||
chown -R forgejo:forgejo .
|
chown -R forgejo:forgejo .
|
||||||
|
|
Loading…
Reference in a new issue