Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable gpgcheck for YUM RPM based Distributions #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

traylenator
Copy link
Contributor

Pull Request (PR) description

Currently the yum repositories for gitlab runner installations are preset with a hardcoded gpgcheck => 0.

Introduce new parameters:

  • pacakage_gpgcheck defaulting to true that sets gpgcheck => 1 for yum based distributions.
  • package_keysource defaulting to current location of the gpg key for gitlab package.

By default gpgchecking will now be enabled for RPM/YUM based distributions which was not the case before.

See:

@traylenator traylenator changed the title Switch gpgcheck for YUM to True for RPM based Distributions Enable gpgcheck for YUM RPM based Distributions Sep 10, 2024
Currently the yum repositories for gitlab runner installations
are preset with a hardcoded `gpgcheck => 0`.

Introduce new parameters:

* `pacakage_gpgcheck` defaulting to true that sets `gpgcheck => 1` for yum
  based distributions.
* `package_keysource` defaulting to current location of the gpg key for gitlab package.

By default gpgchecking will now be enabled for RPM/YUM based
distributions which was not the case before.

See:

* Package signature https://docs.gitlab.com/runner/install/linux-repository.html#rpm-based-distributions
* Repository signature  https://packages.gitlab.com/app/gitlab/gitlab-ce/gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant