Skip to content

Ubuntu 26.04 image build and runner updates - #721

Merged
github-actions[bot] merged 7 commits into
mainfrom
ubuntu-26-images
Oct 1, 2026
Merged

github-actions[bot] merged 7 commits into
mainfrom
ubuntu-26-images

Conversation

@koksay

@koksay koksay commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Add Ubuntu 26.04 (Resolute) GHA runner images and runners

Extends the OCI VM runner image pipeline to build, test, release and serve Ubuntu 26.04 alongside the existing 24.04 images, and adds a parallel set of cncf-ubuntu-26.04-* runner scale sets.

Image build (build-actions-vm.yml, ci/gha-runner-vm*/main.go)

  • build-x86 / build-arm64 are matrixed over ubuntu-version: [24.04, 26.04] (codenames noble / resolute). Each leg checks for its own latest actions/runner-images release, downloads the matching build.ubuntu-<ver>[-arm64].pkr.hcl template and names the image ubuntu-<ver>-<arch>-gha-image.
  • x86: the cloud image URL now uses cloud-images.ubuntu.com/releases/<codename>/release/… and passes a matching --isoChecksum (the default noble/current/SHA256SUMS doesn't list the releases/ filenames).
  • arm64: --os-version is now passed explicitly (the OCI builder otherwise defaults to 24.04).
  • Fixed Apt.Tests.ps1 failure (Apt sources resolve through the mirror list). Upstream's configure-apt-sources.sh only rewrites http://azure.archive.ubuntu.com/ubuntu/ → mirror+file:…; on OCI cloud-init writes <region>-ad-1.clouds.archive.ubuntu.com/ubuntu/ and under qemu it writes archive.ubuntu.com/ubuntu (no trailing slash), so the sed never matched.
  • Packer bumped to 1.16.1.
  • Build artifacts are suffixed per version: image-ocid-{x86,arm64}-<codename>, object-name-{x86,arm64}-<codename>, image-tag-{x86,arm64}-<codename>.

Test stage

  • run-kind-with-arc and test-runner are matrixed over arch × os-version, passing os-version to the run-kind-with-arc action. Scale sets are named oci-ci-test-<run_id>-<os-version>-<arch> and the poller waits on test-runner (<arch>, <os-version>), so 24.04 and 26.04 legs don't collide.

Release / copy / import

  • release-*-image, copy-*-image-to-regions and import-*-image-on-regions are matrixed over version (× region where applicable), consume the per-codename artifacts and release under ubuntu-<ver>-<arch>-gha-image in us-sanjose-1, us-ashburn-1, us-phoenix-1 and us-chicago-1.

Runners (ci/cluster/**/vm-runners)

  • Existing 24.04 manifests (incl. cncf-ubuntu-bm-arm and the GPU runners) now pass --os-version=24.04 explicitly instead of relying on the cloudrunner default.

  • New cncf-ubuntu-26.04-<cpu>-<mem>-<arch> scale sets for every existing size, in the same clusters as their 24.04 counterparts:

    • ci/cluster/oci/vm-runners: 2-8, 16-64 (x86 + arm) and 4-16, 8-32, 24-96, 32-128 (arm)
    • oke-gha-chi: 4-16, 32-128 (x86)
    • oke-gha-phx: 8-32, 24-96 (x86)

    They use the label cncf-ubuntu-resolute-<size>-<arch> as an alias and don't carry the legacy oracle-vm-* labels.

  • ci/README.md lists the new runs-on labels.

Rollout notes

  • The 26.04 scale sets resolve the released ubuntu-26.04-<arch>-gha-image, so they'll only start serving jobs after the first successful 26.04 run of build-actions-vm.yml has released and imported the image into all regions.
  • Known follow-up: the image_exists gate is still a single any-version signal. On the daily schedule, when one version is already current and the other needs a rebuild, the current version's test legs will find no rc- image. Per-version gating (dynamic matrix from a plan job) will be handled separately.

@github-actions github-actions Bot added needs-kind Indicates an issue or PR that is missing an issue type or kind (a kind/foo label) needs-area Indicates an issue or PR missing an area label needs-priority Indicates an issue or PR missing a priority label needs-status Indicates an issue or PR missing a status label kind/github-actions This repository's workflows, reusable actions, and GitHub Actions tooling labels Sep 29, 2026
@github-actions github-actions Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 29, 2026
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: koksay

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@koksay

koksay commented Sep 29, 2026

Copy link
Copy Markdown
Member Author

/hold
/uncc @jeefy @riaankleinhans

@github-actions github-actions Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 29, 2026
@github-actions github-actions Bot removed the needs-kind Indicates an issue or PR that is missing an issue type or kind (a kind/foo label) label Sep 29, 2026
@github-actions github-actions Bot added area/ci CI/CD infrastructure and automation and removed needs-area Indicates an issue or PR missing an area label labels Sep 29, 2026
@koksay

koksay commented Sep 30, 2026

Copy link
Copy Markdown
Member Author

/uncc @mrbobbytables @riaankleinhans
/cc @jeefy

Still in progress, I will ping when the pr is ready

@github-actions
github-actions Bot requested review from jeefy and removed request for mrbobbytables and riaankleinhans September 30, 2026 18:30
Signed-off-by: Koray Oksay <koray.oksay@gmail.com>
Signed-off-by: Koray Oksay <koray.oksay@gmail.com>
Signed-off-by: Koray Oksay <koray.oksay@gmail.com>
Signed-off-by: Koray Oksay <koray.oksay@gmail.com>
Signed-off-by: Koray Oksay <koray.oksay@gmail.com>
koksay added 2 commits October 1, 2026 12:52
Signed-off-by: Koray Oksay <koray.oksay@gmail.com>
Signed-off-by: Koray Oksay <koray.oksay@gmail.com>
@koksay koksay changed the title [wip] ubuntu 26.04 packer build updates Ubuntu 26.04 image build and runner updates Oct 1, 2026
@koksay

koksay commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

The images are successfully built: https://github.com/cncf/automation/actions/runs/36815874306

The PR is ready for review, @jeefy

/hold cancel

@github-actions github-actions Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 1, 2026
@jeefy

jeefy commented Oct 1, 2026

Copy link
Copy Markdown
Member

/lgtm

Great job @koksay

@github-actions github-actions Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 1, 2026
@github-actions
github-actions Bot merged commit f6b07c7 into main Oct 1, 2026
8 checks passed
@koksay
koksay deleted the ubuntu-26-images branch October 2, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/ci CI/CD infrastructure and automation kind/github-actions This repository's workflows, reusable actions, and GitHub Actions tooling lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority Indicates an issue or PR missing a priority label needs-status Indicates an issue or PR missing a status label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants