Skip to content

feat(linux): onboard Ubuntu 26.04 minimal image builds for AMD64 + ARM64#8782

Draft
cameronmeissner wants to merge 8 commits into
mainfrom
cameissner/onboard-2604-minimal
Draft

feat(linux): onboard Ubuntu 26.04 minimal image builds for AMD64 + ARM64#8782
cameronmeissner wants to merge 8 commits into
mainfrom
cameissner/onboard-2604-minimal

Conversation

@cameronmeissner

Copy link
Copy Markdown
Contributor

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 #

Copilot AI review requested due to automatic review settings June 26, 2026 21:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.sh to use python3 when the detected Ubuntu version is 26.04.
  • Replace the prior Ubuntu 22.04 minimal build entries in .pipelines/.vsts-vhd-builder-release.yaml with 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 thread parts/linux/cloud-init/artifacts/cis.sh
Comment thread .pipelines/.vsts-vhd-builder-release.yaml
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'
Copilot AI review requested due to automatic review settings June 26, 2026 22:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Comment thread vhdbuilder/packer/pre-install-dependencies.sh Outdated
Comment thread parts/linux/cloud-init/artifacts/ubuntu/cse_install_ubuntu.sh
Comment thread parts/linux/cloud-init/artifacts/ubuntu/cse_install_ubuntu.sh
Comment thread .pipelines/templates/.builder-release-template.yaml
Copilot AI review requested due to automatic review settings June 26, 2026 22:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Comment thread vhdbuilder/packer/pre-install-dependencies.sh
Comment thread parts/linux/cloud-init/artifacts/ubuntu/cse_install_ubuntu.sh
Comment thread parts/linux/cloud-init/artifacts/ubuntu/cse_install_ubuntu.sh
Comment thread .pipelines/templates/.builder-release-template.yaml
Comment thread .pipelines/.vsts-vhd-builder-release.yaml
Copilot AI review requested due to automatic review settings June 26, 2026 22:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.

Comment thread parts/linux/cloud-init/artifacts/ubuntu/cse_install_ubuntu.sh Outdated
Comment thread parts/linux/cloud-init/artifacts/ubuntu/cse_install_ubuntu.sh
condition: ne(variables['BUILDER'], 'imagecustomizer')
displayName: Build VHD
retryCountOnTaskFailure: 3
# retryCountOnTaskFailure: 3
Comment thread .pipelines/.vsts-vhd-builder-release.yaml
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.

2 participants