Skip to content

fix: update nodesource_gpg_keyring test to match gpg --dearmor pattern - #2

Merged
stempeck merged 1 commit into
mainfrom
af/manager-1c4fff
May 5, 2026
Merged

fix: update nodesource_gpg_keyring test to match gpg --dearmor pattern#2
stempeck merged 1 commit into
mainfrom
af/manager-1c4fff

Conversation

@stempeck

@stempeck stempeck commented May 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Updates TestDockerfileSupplyChainInvariants/nodesource_gpg_keyring to check for gpg --dearmor -o instead of dd of=, matching the Dockerfile change from commit 53ca755
  • The NodeSource GPG key installation was changed to use gpg --dearmor for ASCII-armored keys, but the test assertion was not updated

Closes #1

Test plan

  • TestDockerfileSupplyChainInvariants passes (all 6 subtests)
  • Full test suite verified — no regressions introduced
  • Test still verifies keyring installed to /usr/share/keyrings/ and apt source uses signed-by

Commit 53ca755 changed the NodeSource GPG key installation from
dd to gpg --dearmor but didn't update the test assertion.

Closes #1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stempeck
stempeck merged commit 8e7519f into main May 5, 2026
6 checks passed
@stempeck
stempeck deleted the af/manager-1c4fff branch May 5, 2026 01:57
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.

CI: TestDockerfileSupplyChainInvariants/nodesource_gpg_keyring fails on main

1 participant