AgentBaker icon indicating copy to clipboard operation
AgentBaker copied to clipboard

fix: build CVM image on CVM hardware

Open zachary-bailey opened this issue 1 year ago • 3 comments

What type of PR is this?

/kind fix

What this PR does / why we need it:

This PR directs the build pipeline to build CVM images on dedicated CVM hardware. This allows apt updates for the CVM image during the build process. Original PR from @anujmaheshwari1 enabling this can be found here: fix: install upgrades for CVM images in pre-install dependencies. This PR also adds the changes originally made in that PR.

Which issue(s) this PR fixes:

CVM breaks on kernel image updates due to null-boot package post-install.

Notes:

NEVER MERGE label is assigned to this PR until necessary changes in ACG are made to support the new workflow it requires. These changes should be simple.

If merged, these changes would require the availability and quota of Confidential Compute VMs in the build region, which is why this adds a conditional region check in .pipelines/.vsts-vhd-builder-release.yaml for CVMs. This will prevent failing pipelines due to not having Confidential Compute cores available.

Requirements:

zachary-bailey avatar Sep 05 '24 15:09 zachary-bailey