Skip to content

Commit 7957276

Browse files
committed
CI: Work around for SHA1 deprecation in EL9/10 which otherwise fails to import RPM keys
1 parent beba298 commit 7957276

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,9 @@ build_el9_arm64:
227227
.build-client-srpm-template: &build-client-srpm-template_definition
228228
stage: build:rpm
229229
script:
230-
- update-crypto-policies --set LEGACY
231230
- dnf config-manager --add-repo https://linuxsoft.cern.ch/cern/rhel/$(rpm --eval '%{rhel}')/CERN/$(uname -m)/ --set-enabled
232231
- dnf install cern-gpg-keys --nogpgcheck -y
233-
- rpm --import /etc/pki/rpm-gpg/*
232+
- rpm --import /etc/pki/rpm-gpg/* || true
234233
- dnf install rpm-build cmake gcc-c++ git -y
235234
- git submodule sync --recursive && git submodule update --init -f --recursive
236235
- mkdir -pv build; cd build;

0 commit comments

Comments
 (0)