From 6c1b4663d919e01b80f6d1c941c97aa18fdaf894 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 29 Jan 2022 17:13:24 +0100 Subject: Add the installation of latest archlinux-keyring to CI .gitlab-ci.yml: Install the latest archlinux-keyring before installing anything else. This is to make sure to not run into outdated keys upon updating, which is a problem because we can currently not even ensure a keyring that is valid longer than one month... https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/issues/4 --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c674294..63fd96f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,11 @@ stages: check: before_script: + # NOTE: Install latest archlinux-keyring before upgrading system. In the + # future this should not be needed anymore when we can guarantee a valid + # keyring for longer: + # https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/issues/4 + - pacman -Sy --needed --noconfirm archlinux-keyring - pacman --noconfirm -Syu --needed make shellcheck script: - make check -- cgit v1.2.3-54-g00ecf