-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch gpgcheck for YUM to True for RPM based Distributions
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
- Loading branch information
1 parent
a664c8c
commit abb44c5
Showing
5 changed files
with
50 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
--- | ||
gitlab_ci_runner::xz_package_name: 'xz' | ||
gitlab_ci_runner::package_keysource: 'https://packages.gitlab.com/runner/gitlab-runner/gpgkey/runner-gitlab-runner-49F16C5CC3A0F81F.pub.gpg' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters