[tor-commits] [manual/master] we need non-interactive apt, we were getting errors

emmapeel at torproject.org emmapeel at torproject.org
Tue Nov 2 20:42:51 UTC 2021


commit dde82d0d47ee06f3aed094320d757c671468ae3a
Author: emma peel <emma.peel at riseup.net>
Date:   Tue Nov 2 21:02:18 2021 +0100

    we need non-interactive apt, we were getting errors
---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 272e6da..4e7a6b2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,8 +17,9 @@ image: debian:buster-slim
            'Dpkg::Use-Pty "0";' \
            "Dir::Cache::Archives \"${APT_CACHE_DIR}\"; " \
         >> /etc/apt/apt.conf.d/99gitlab
-      apt-get update -qq
-      apt-get upgrade -qy
+      DEBIAN_FRONTEND=noninteractive apt-get update -qq
+      DEBIAN_FRONTEND=noninteractive apt-get upgrade -qy
+      DEBIAN_FRONTEND=noninteractive apt-get install git apt-utils ca-certificates -y
 
 variables:
   GIT_SUBMODULE_STRATEGY: recursive





More information about the tor-commits mailing list