feat(linux): onboard Ubuntu 26.04 minimal image builds for AMD64 + ARM64#8782
Draft
cameronmeissner wants to merge 8 commits into
Draft
feat(linux): onboard Ubuntu 26.04 minimal image builds for AMD64 + ARM64#8782cameronmeissner wants to merge 8 commits into
cameronmeissner wants to merge 8 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds initial wiring to build Ubuntu 26.04 minimal VHD images (AMD64 + ARM64) in the VHD builder release pipeline, and updates the CIS hardening script to treat Ubuntu 26.04 like 22.04/24.04 for selecting python3.
Changes:
- Update
parts/linux/cloud-init/artifacts/cis.shto usepython3when the detected Ubuntu version is26.04. - Replace the prior Ubuntu 22.04 minimal build entries in
.pipelines/.vsts-vhd-builder-release.yamlwith new Ubuntu 26.04 minimal Gen2 build jobs for AMD64 and ARM64.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| parts/linux/cloud-init/artifacts/cis.sh | Extends Ubuntu-version branching to include 26.04 for the python3 hash-generation path. |
| .pipelines/.vsts-vhd-builder-release.yaml | Adds Ubuntu 26.04 minimal Gen2 build jobs (AMD64/ARM64) and their build variables/artifact names, while removing 22.04 minimal build knobs. |
Comment on lines
+775
to
781
| echo '##vso[task.setvariable variable=OS_VERSION]26.04' | ||
| echo '##vso[task.setvariable variable=IMG_PUBLISHER]Canonical' | ||
| echo '##vso[task.setvariable variable=IMG_OFFER]0001-com-ubuntu-minimal-jammy-aks-daily-preview' | ||
| echo '##vso[task.setvariable variable=IMG_SKU]minimal-aks-22_04-daily-lts' | ||
| echo '##vso[task.setvariable variable=IMG_OFFER]ubuntu-26_04-lts' | ||
| echo '##vso[task.setvariable variable=IMG_SKU]minimal' | ||
| echo '##vso[task.setvariable variable=IMG_VERSION]latest' | ||
| echo '##vso[task.setvariable variable=HYPERV_GENERATION]V1' | ||
| echo '##vso[task.setvariable variable=HYPERV_GENERATION]V2' | ||
| echo '##vso[task.setvariable variable=AZURE_VM_SIZE]Standard_D16ds_v5' |
| condition: ne(variables['BUILDER'], 'imagecustomizer') | ||
| displayName: Build VHD | ||
| retryCountOnTaskFailure: 3 | ||
| # retryCountOnTaskFailure: 3 |
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:
onboard Ubuntu 26.04 minimal image builds for AMD64 + ARM64
Which issue(s) this PR fixes:
Fixes #