[geary/mjog/tzdata-debconf-wedged-ci] .gitlab-ci.yml: Preconfigure Ubuntu tzdata package



commit 1c5f1ba74ed9f815db5f7be079999050cb89e339
Author: Michael Gratton <mike vee net>
Date:   Wed Mar 25 13:42:08 2020 +1100

    .gitlab-ci.yml: Preconfigure Ubuntu tzdata package
    
    This prevents it blocking waiting for terminal input on upgrades.

 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 902c4601..bbfbe152 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,6 +67,8 @@ ubuntu:
   stage: build
   image: ubuntu:devel
   before_script:
+    - ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
+    - dpkg-reconfigure -f noninteractive tzdata
     - apt-get update
     - apt-get install -q -y --no-install-recommends $UBUNTU_DEPS $UBUNTU_TEST_DEPS
     - locale-gen $TEST_LOCALE


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]