Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2022-01-29 17:13:24 +0100
committerDavid Runge <dvzrv@archlinux.org>2022-01-29 18:42:48 +0100
commit6c1b4663d919e01b80f6d1c941c97aa18fdaf894 (patch)
treeb27bc295c1f15b6d02267404ac122531a63cfa8b /.gitlab-ci.yml
parent720516e6fd4411d76c87e09d9da393a4d10b2c21 (diff)
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
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
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