Skip to content

Add Ubuntu 26.04 (resolute) as a supported platform#413

Open
ihalatci wants to merge 3 commits into
developfrom
ihalatci-add-ubuntu-resolute-support
Open

Add Ubuntu 26.04 (resolute) as a supported platform#413
ihalatci wants to merge 3 commits into
developfrom
ihalatci-add-ubuntu-resolute-support

Conversation

@ihalatci

@ihalatci ihalatci commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Mirrors the existing noble (Ubuntu 24.04) wiring to add resolute (Ubuntu 26.04 LTS, "Resolute Raccoon") as a supported platform. Unblocks the parallel ubuntu,resolute change in citusdata/packaging, which is CI-gated on tools' platform_names() argparse validation.

Changes

  • common_tool_methods.py — append "resolute" to supported_platforms["ubuntu"]. This is the core argparse gate built by platform_names().
  • citus_package.py — add "ubuntu,resolute": "ubuntu/resolute" to package_docker_platform_dict.
  • upload_to_package_cloud.py — add "ubuntu/resolute": 320 (real packagecloud distro_version_id for Ubuntu 26.04, mirroring noble = 284). Landed initially as a loud -1 placeholder, then set to the real id.
  • test_citus_package.py — add the ubuntu_resolute test platform.
  • tests/test_citus_package.py — add "ubuntu/resolute": 2 expected package count.

Testing

  • pytest packaging_automation/tests/test_citus_package.py (excluding docker/network tests): 5 passed, 2 deselected (test_build_packages needs docker + a packaging branch checkout; test_upload_to_package_cloud needs packagecloud network — cannot run locally).
  • black --check clean on all changed files.
  • Verified platform_names() now includes ubuntu/resolute.

Deferred (not in this PR)

CI matrix additions (citus-package-all-platforms-test.yml, package-tests.yml, build-citus-community-nightlies.yml) and a test-images/ubuntu-resolute/ dir are intentionally left out — they trigger real docker build/install/upload and depend on published packaging recipes + published packages. These follow in a later change once the upstream pieces land.

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com

ihalatci-msft and others added 2 commits July 7, 2026 18:08
Mirror the existing noble (Ubuntu 24.04) wiring to add resolute
(Ubuntu 26.04 LTS, "Resolute Raccoon"):

- common_tool_methods.py: append "resolute" to supported_platforms["ubuntu"],
  which is the argparse gate built by platform_names().
- citus_package.py: add "ubuntu,resolute" -> "ubuntu/resolute" to
  package_docker_platform_dict.
- upload_to_package_cloud.py: add "ubuntu/resolute" distro_version_id
  placeholder -1 (TODO: real packagecloud id for Ubuntu 26.04) so uploads
  fail safely until filled.
- test_citus_package.py + tests/test_citus_package.py: add the resolute
  test platform and its expected package count.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Replace the -1 placeholder for "ubuntu/resolute" with the actual
packagecloud distro_version_id 320 (Ubuntu 26.04), mirroring the
existing noble entry. Uploads to packagecloud can now target resolute.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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