Fix terraform feature OpenPGP error on Ubuntu 26.04 (resolute)#1683
Draft
Kaniska244 with Copilot wants to merge 4 commits into
Draft
Fix terraform feature OpenPGP error on Ubuntu 26.04 (resolute)#1683Kaniska244 with Copilot wants to merge 4 commits into
Kaniska244 with Copilot wants to merge 4 commits into
Conversation
Copilot
AI
changed the title
[WIP] Add tests for terraform on ubuntu 26.04
Fix terraform feature OpenPGP error on Ubuntu 26.04 (resolute)
Jul 8, 2026
Contributor
|
@copilot Can you use |
Contributor
Author
Switched both resolute scenarios to |
Contributor
|
@copilot Do a version bump for the terraform feature for this change. |
Contributor
Author
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.
The
terraformfeature fails on Ubuntu 26.04 ("Resolute Raccoon") withNo valid OpenPGP data found. Ubuntu Noble and Debian Trixie already use a newer GPG key/repo format viaNEW_GPG_CODENAMES, butresolutewas missing from that list and fell back to the incompatible legacy path.Changes
src/terraform/install.sh: AddresolutetoNEW_GPG_CODENAMESso the new GPG repo setup path is used on Ubuntu 26.04; update related comments.test/terraform/scenarios.json: Addinstall_in_ubuntu_resoluteandinstall_in_ubuntu_resolute_sentinelscenarios against theubuntu:resoluteimage (matching the image-tag convention used by other features).test/terraform/install_in_ubuntu_resolute.sh/install_in_ubuntu_resolute_sentinel.sh: New test scripts mirroring the noble equivalents, omitting thevscodeuser check since the plainubuntu:resoluteimage has no such user.Notes
ubuntu:26.04reportsVERSION_CODENAME=resolute; with this change the detection logic setsIS_GPG_NEW=1, activating the workaround.