From c93919c98f8d64d5dffb0bbb90b3697b3fd9c58e Mon Sep 17 00:00:00 2001 From: crystal Date: Sat, 25 Nov 2023 18:56:25 -0700 Subject: [PATCH] noninteractive --- .ci-make.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.ci-make.sh b/.ci-make.sh index 9bd35fb..6155b73 100755 --- a/.ci-make.sh +++ b/.ci-make.sh @@ -116,11 +116,12 @@ case "$1" in exit $? ;; "install-repo-test") - apt update + export DEBIAN_FRONTEND=noninteractive + apt update -qq apt install -y ./"$2" - apt update + apt update -qq apt upgrade -y - apt update + apt update -qq apt install "$3" sudo -u forgejo USER=forgejo \ HOME=/var/lib/forgejo GITEA_WORK_DIR=/var/lib/forgejo \ @@ -138,15 +139,17 @@ case "$1" in fi ;; "force-clean-forgejo") + export DEBIAN_FRONTEND=noninteractive apt install -y psmisc killall forgejo exit $? ;; "forgejo-test-deps") echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" > /etc/apt/sources.list.d/backports.list - apt update - apt install --no-install-recommends -y git-lfs - apt install -y -t bookworm-backports golang-1.20 + export DEBIAN_FRONTEND=noninteractive + apt update -qq + 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 adduser --quiet --comment forgejo --disabled-password forgejo chown -R forgejo:forgejo .