From 571786c211feeae0b9fcce8d1e6d67f8cbcb527d Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 2 Apr 2020 07:51:09 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ec64135be5..a6826628f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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