From b88be0add06f09a4679178009dca2716914a874c Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Sun, 7 Jun 2020 20:18:10 +0200 Subject: [PATCH] ci: bump Ubuntu to 20.04 This also removes the manual addition of the universe repository, since it's already enabled in the circleci image. Because of this, software-properties-common doesn't need to be installed anymore, and libnss-systemd isn't going to be installed (see c4257802206186b891bea8d055c14b03772a64bf). However, DEBIAN_FRONTEND=noninteractive needs to be set, else the image will loop while trying to configure tzdata (aka the timezome). Signed-off-by: Stephan Lachnit --- .circleci/config.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4c7e7907..8dc4ff1d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -156,10 +156,7 @@ ubuntu_settings: &ubuntu_settings - run: name: Install prerequisites command: | - apt-get update - apt-get install -y software-properties-common - apt-get remove -y libnss-systemd - add-apt-repository universe + export DEBIAN_FRONTEND=noninteractive apt-get update apt-get install -y git ${UBUNTU_DEP_BUILD} ${UBUNTU_DEP_TEST} - checkout @@ -242,10 +239,10 @@ jobs: <<: *arch_settings docker: - image: archlinux - ubuntu_19_10: + ubuntu_20_04: <<: *ubuntu_settings docker: - - image: ubuntu:19.10 + - image: ubuntu:20.04 doc_build: <<: *doc_build docker: @@ -260,7 +257,7 @@ workflows: version: 2 compile_and_test: jobs: - - ubuntu_19_10 + - ubuntu_20_04 - arch - fedora_31 - doc_build