gitlab-ci: set DEBIAN_FRONTEND=noninteractive for apt-get install

Otherwise, installing a package might prompt for the user to type something,
breaking the CI build.
This commit is contained in:
Thomas Haller 2020-04-02 07:51:09 +02:00
parent d342fa267d
commit 571786c211

View file

@ -36,8 +36,8 @@ stages:
.debian_install: &debian_install
before_script:
- date '+%Y%m%d-%H%M%S'; apt-get update
- date '+%Y%m%d-%H%M%S'; NM_INSTALL="apt-get -qq install -y" ./contrib/debian/REQUIRED_PACKAGES
- date '+%Y%m%d-%H%M%S'; DEBIAN_FRONTEND=noninteractive apt-get update
- date '+%Y%m%d-%H%M%S'; DEBIAN_FRONTEND=noninteractive NM_INSTALL="apt-get -qq install -y" ./contrib/debian/REQUIRED_PACKAGES
- date '+%Y%m%d-%H%M%S'; dbus-uuidgen --ensure
- date '+%Y%m%d-%H%M%S'; sed -i 's/^# \(pl_PL.UTF-8 .*\)$/\1/p' /etc/locale.gen ; true
- date '+%Y%m%d-%H%M%S'; locale-gen pl_PL.UTF-8