Repository navigation
refactor(acl): use one ACL Packer build script - #10261
Draft
Garrett Settles (gsettles01) wants to merge 1 commit into
Draft
Garrett Settles (gsettles01) wants to merge 1 commit into
Garrett Settles (gsettles01) wants to merge 1 commit into
Conversation
Preserve ACL and candidate Packer behavior while routing confidential VM builds through the shared script, including Trusted Launch gallery capture used by downstream builds. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Windows Unit Test Results 3 files 21 suites 1m 13s ⏱️ Results for commit 4fdebbc. |
Contributor
Contributor
Contributor
|
This branch has not been deployed
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.
What this PR does / why we need it:
Follow-up to #10154 and Sylvain's cleanup request.
Move the confidential VM (CVM) managed-image transform into the shared ACL build script behind
--cvmand remove its wrapper. Keep the template override, non-CVM templates and candidate tagging before Packer unchanged.CVM builds with Trusted Launch source settings keep gallery capture, since Packer cannot combine Secure Boot/vTPM with managed-image output. Downstream builds patching the removed wrapper or its make call must update those patches before taking this release. Unknown build options in the second argument fail explicitly.
✅
shellspec --shell bash --format d spec/vhdbuilder/packer/build_acl_spec.sh spec/vhdbuilder/packer/build_acl_cvm_spec.shpassed, 14 examples.✅
shellcheck -s bash vhdbuilder/packer/build-acl.sh spec/vhdbuilder/packer/build_acl_spec.sh spec/vhdbuilder/packer/build_acl_cvm_spec.shpassed.✅
bash -n vhdbuilder/packer/build-acl.sh,bash -n spec/vhdbuilder/packer/build_acl_spec.shandbash -n spec/vhdbuilder/packer/build_acl_cvm_spec.sheach passed.✅
git diff --checkpassed.✅ ACL CVM image build 194712808 passed on
4fdebbc5, including managed-image capture and a CVM boot test onStandard_DC4es_v6.✅ Linux and Windows VHD/E2E gates passed.
Revert this PR to restore the wrapper.
Which issue(s) this PR fixes:
None.