Skip to content

refactor(acl): use one ACL Packer build script - #10261

Draft
Garrett Settles (gsettles01) wants to merge 1 commit into
devfrom
gsettles/24686-consolidate-acl-build-script
Draft

Garrett Settles (gsettles01) wants to merge 1 commit into
devfrom
gsettles/24686-consolidate-acl-build-script

Conversation

@gsettles01

@gsettles01 Garrett Settles (gsettles01) commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

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 --cvm and 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.sh passed, 14 examples.
✅ shellcheck -s bash vhdbuilder/packer/build-acl.sh spec/vhdbuilder/packer/build_acl_spec.sh spec/vhdbuilder/packer/build_acl_cvm_spec.sh passed.
✅ bash -n vhdbuilder/packer/build-acl.sh, bash -n spec/vhdbuilder/packer/build_acl_spec.sh and bash -n spec/vhdbuilder/packer/build_acl_cvm_spec.sh each passed.
✅ git diff --check passed.
✅ ACL CVM image build 194712808 passed on 4fdebbc5, including managed-image capture and a CVM boot test on Standard_DC4es_v6.
✅ Linux and Windows VHD/E2E gates passed.

Revert this PR to restore the wrapper.

Which issue(s) this PR fixes:

None.

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>
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Windows Unit Test Results

  3 files   21 suites   1m 13s ⏱️
817 tests 817 ✅ 0 💤 0 ❌
844 runs  844 ✅ 0 💤 0 ❌

Results for commit 4fdebbc.

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
test 0% ❌
windows 27% ❌
parts_windows Package 1 74% ➖
staging_cse_windows Package 1 72% ➖
debug 0% ❌
provisioningscripts 2% ❌
Summary 40% (2077 / 7276) ❌

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
shellspec spec 32% ❌
Summary 32% (5586 / 17340) ❌

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
github.com/Azure/agentbaker/aks-live-patching/pkg/status 100% ✔
github.com/Azure/agentbaker/apiserver 52% ❌
github.com/Azure/agentbaker/cmd 0% ❌
github.com/Azure/agentbaker/cmd/starter 0% ❌
github.com/Azure/agentbaker/fuzz/api 0% ❌
github.com/Azure/agentbaker/hotfix/render-nodecustomdata 35% ❌
github.com/Azure/agentbaker/pkg/agent 79% ➖
github.com/Azure/agentbaker/pkg/agent/datamodel 78% ➖
github.com/Azure/agentbaker/pkg/agent/toggles 0% ❌
github.com/Azure/agentbaker/pkg/vhdbuilder/datamodel 87% ✔
github.com/Azure/agentbaker/aks-node-controller 74% ➖
github.com/Azure/agentbaker/aks-node-controller/common 100% ✔
github.com/Azure/agentbaker/aks-node-controller/config 66% ➖
github.com/Azure/agentbaker/aks-node-controller/generalize 80% ✔
github.com/Azure/agentbaker/aks-node-controller/helpers 68% ➖
github.com/Azure/agentbaker/aks-node-controller/internal/localdns 81% ✔
github.com/Azure/agentbaker/aks-node-controller/parser 89% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/gpu 100% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/nodeconfigutils 92% ✔
github.com/Azure/agentbaker/aks-node-controller/utils 0% ❌
Summary 84% (7045 / 9148) ✔

This branch has not been deployed

No deployments
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.

1 participant