ci: disable progress output from apt-get
authorChris Hofstaedtler <chris@hofstaedtler.name>
Sat, 18 Nov 2023 11:39:08 +0000 (12:39 +0100)
committerChris Hofstaedtler <chris@hofstaedtler.name>
Sat, 18 Nov 2023 11:40:08 +0000 (12:40 +0100)
tests/build-vm-and-test.sh
tests/docker-build-deb.sh
tests/docker-build-vm.sh
tests/docker-install-deb.sh

index 1dc4bbc..53076ac 100755 (executable)
@@ -34,7 +34,7 @@ fi
 if [ "$1" == "setup" ]; then
   [ -x ./tests/goss ] || curl -fsSL https://goss.rocks/install | GOSS_DST="$(pwd)/tests" sh
   sudo apt-get update
-  sudo apt-get -y install qemu-system-x86 kpartx python3-pexpect python3-serial
+  sudo apt-get -qq -y install qemu-system-x86 kpartx python3-pexpect python3-serial
   # TODO: docker.io
   exit 0
 fi
index f9a8c8d..4320c82 100755 (executable)
@@ -18,7 +18,7 @@ if [ -z "$BUILD_NUMBER" ]; then
 fi
 
 apt-get update
-apt-get install --no-install-recommends -y build-essential devscripts equivs
+apt-get install -qq -y --no-install-recommends build-essential devscripts equivs
 
 SOURCEDIR=$PWD
 
index 07578f7..0b210dd 100755 (executable)
@@ -16,7 +16,7 @@ TARGET="$2"
 RELEASE="$3"
 
 if [ -n "${DEBOOTSTRAP:-}" ] && [ "${DEBOOTSTRAP:-}" != "debootstrap" ]; then
-  apt-get install -y "${DEBOOTSTRAP}"
+  apt-get install -qq -y "${DEBOOTSTRAP}"
 fi
 
 set -x
index 9ba38d0..b056952 100755 (executable)
@@ -15,5 +15,5 @@ DEB_NAME="$1"
 
 apt-get update
 # docker images can be relatively old, especially for unstable.
-apt-get -y upgrade
-apt-get -y install "$DEB_NAME"
+apt-get upgrade -qq -y
+apt-get install -qq -y "$DEB_NAME"