We are trying to install gitlab runner on rocky 8.10 but unable to install as it is throwing GPG keys error. please find below the repository we used and command.
and the gitlab-runner packages installed fine. I even have GPG enabled and FIPS. Check:
update-crypto-policies --show
to see if someone has changed it from the default. However, if you disable GPG in the yum repo files like you did with gpgcheck and repo_gpgcheck, then it shouldn’t be using it. Sounds like something on your system is incorrectly configured.
or perhaps your system was installed with a security profile enabled, and this is blocking you from disabling GPG and also blocking the use of Gitlab’s GPG key. In that case, it would require getting Gitlab to fix their GPG repository keys to higher grade ones that security profiles will not block them from being used.
But to identify if that is the cause you’d need to explain more about your server configuration.
First point we do not have root privileges but, we have privileges to run some commands using dzdo. sudo will not work for us.
i got error while executing above script with sh instead of bash shell.
dzdo /bin/curl -L “https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh” | dzdo bash
Sorry, user svc-packer is not allowed to execute ‘/usr/bin/bash’ as root on pckrda6003.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
51 7983 51 4098 0 0 26269 0 --:–:-- --:–:-- --:–:-- 26269
curl: (23) Failed writing body (1367 != 1369)