summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-04-02 07:51:09 +0200
committerThomas Haller <thaller@redhat.com>2020-04-02 08:12:36 +0200
commit571786c211feeae0b9fcce8d1e6d67f8cbcb527d (patch)
treeeffe65c1b03b2be32f667dcdca0a3900e03fbe95
parentd342fa267d59cd317cc3cc798824c70b1158ff61 (diff)
downloadNetworkManager-571786c211feeae0b9fcce8d1e6d67f8cbcb527d.tar.gz
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.
-rw-r--r--.gitlab-ci.yml4
1 files 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