diff options
| author | David Runge <dvzrv@archlinux.org> | 2022-01-29 17:13:24 +0100 |
|---|---|---|
| committer | David Runge <dvzrv@archlinux.org> | 2022-01-29 18:42:48 +0100 |
| commit | 6c1b4663d919e01b80f6d1c941c97aa18fdaf894 (patch) | |
| tree | b27bc295c1f15b6d02267404ac122531a63cfa8b | |
| parent | 720516e6fd4411d76c87e09d9da393a4d10b2c21 (diff) | |
| download | archiso-6c1b4663d919e01b80f6d1c941c97aa18fdaf894.tar.gz archiso-6c1b4663d919e01b80f6d1c941c97aa18fdaf894.tar.bz2 | |
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
| -rw-r--r-- | .gitlab-ci.yml | 5 |
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 |
