Merge remote-tracking branch 'origin/pr/254'
authorMichael Prokop <mika@grml.org>
Thu, 7 Dec 2023 15:06:26 +0000 (16:06 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 7 Dec 2023 15:06:26 +0000 (16:06 +0100)
.github/workflows/pr-review.yml
tests/build-vm-and-test.sh
tests/docker-build-deb.sh
tests/docker-build-vm.sh
tests/docker-install-deb.sh

index 19ea46d..686de9d 100644 (file)
@@ -34,7 +34,7 @@ jobs:
         with:
           github_token: ${{ secrets.github_token }}
           reporter: github-pr-review
-          path: "."
+          path: tests
           pattern: |
-            tests/*
+            *
           check_all_files_with_shebangs: "false"
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"