-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
Update gpgkey for yum repos #272
Conversation
spec/classes/init_spec.rb
Outdated
| it { is_expected.to contain_apt__source('gitlab_official_ce').with_ensure('present').with_comment(%r{.}) } | ||
| it { is_expected.to contain_apt__source('gitlab_official_ee').with_ensure('absent') } | ||
| it { is_expected.not_to contain_apt__source('gitlab_official_') } | ||
| it { is_expected.not_to contain_yumrepo('gitlab_official_ce') } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be a good idea to add:
it { is_expected.to compile.with_all_deps }
|
mhm, this should be rebased after #271 got merged? |
|
Gitlab's key is the same for both ce and ee, and they both point to the location that is currently in the data here. I've spoken with gitlab about this in their docs, they just haven't gotten around to updating it yet. Opening an issue and issuing a fix based on my comment from your PR in #271 should solve both of these issues. |
|
Your version lacks Thus, I respectfully disagree. vs. vs. However, URLs:
do resolve to the same file, I just changed that part for consistency with the upstream repos definition. |
227abb5
to
6dc143d
Compare
gitlab-gitlab-XX-3D645A26AB9FBD22.pub.gpg has the fingerprint 3CFCF9BAF27EAB47 and is required for recent packages. https://packages.gitlab.com/gitlab/gitlab-XX/gpgkey is the URL found in Gitlab's repos definition for https://packages.gitlab.com/gpg.key, but both serve the same key 14219A96E15E78F4.
6dc143d
to
e473966
Compare
|
There. I used the same URLs than in Gitlab's repos definition as that seems more future-proof, but feel free to revert to Of course, the |
Somehow, after the voxpupuli#271 and voxpupuli#272 merges we ended up without the GPG key change for gitlab-ce and with %{lookup()} calls left in gitlab-ee. This commit fixes the data and adds tests for it.
This updates the
gpgkeyline of the yum repositories as per Gitlab's install docs. At the moment, themasterbranch fails to install because of this.The first three commits are PR #271, 227abb5 is the only relevant change here.
I'll rebase this PR if needed when #271 is updated.