Repository navigation
Order legacy apt key removal after new keyring and source - #85
Merged
Merged
Conversation
Only remove /etc/apt/trusted.gpg.d/graylog-keyring.gpg once the new keyring and the signed-by source are in place. Otherwise a failed run on an upgraded host could leave the Graylog repo without any key. Fix the server.conf spec, which compared regexes against the redacted Sensitive value, by wrapping the expectations in sensitive().
The unit specs were not run in CI, so a broken server.conf spec went unnoticed. Run pdk test unit next to pdk validate on every push.
bernd
force-pushed
the
fix-apt-keyring-ordering
branch
from
December 3, 2026 16:44
45907cc to
d416172
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Only remove /etc/apt/trusted.gpg.d/graylog-keyring.gpg once the new keyring and the signed-by source are in place. Otherwise, a failed run on an upgraded host could leave the Graylog repo without any key.
Fix the server.conf spec, which compared regexes against the redacted Sensitive value, by wrapping the expectations in sensitive().