Skip to content

feat(azurelinux-repos): configure release channels - #18539

Draft
reuben olinsky (reubeno) wants to merge 1 commit into
microsoft:4.0from
reubeno:rrr
Draft

feat(azurelinux-repos): configure release channels#18539
reuben olinsky (reubeno) wants to merge 1 commit into
microsoft:4.0from
reubeno:rrr

Conversation

@reubeno

@reubeno reuben olinsky (reubeno) commented Aug 21, 2026

Copy link
Copy Markdown
Member
  • ship production and preview repos for base, cloud-native, and microsoft
  • temporarily enable preview binaries while production repos are populated
  • replace azurelinux-repos-dev with one runtime repository package
  • remove duplicate -dev image profiles, registrations, and tags

Resolves: AB#22996

Copilot AI balanced review requested due to automatic review settings August 21, 2026 00:13

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

Consolidates runtime repository configuration into azurelinux-repos and removes redundant development image variants.

Changes:

  • Adds production and preview channels for base, cloud-native, and Microsoft repositories.
  • Obsoletes azurelinux-repos-dev and updates image definitions to use one repository package.
  • Removes -dev image profiles, registrations, and tags.

Reviewed changes

Copilot reviewed 17 out of 18 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
specs/a/azurelinux-repos/microsoft.repo Removes generated standalone Microsoft repo.
specs/a/azurelinux-repos/azurelinux.repo.in Expands generated channel template.
specs/a/azurelinux-repos/azurelinux-repos.spec Updates generated package specification.
locks/azurelinux-repos.lock Refreshes component fingerprint.
base/images/wsl/wsl.kiwi Removes WSL dev profile.
base/images/vm-iso-installer/vm-iso-installer.kiwi Unifies installer repository package.
base/images/vm-iso-installer/config.sh Removes variant selection and exclusions.
base/images/vm-base/vm-base.kiwi Removes VM dev profile.
base/images/tests/utils/pytest_plugin.py Generalizes variant documentation.
base/images/tests/README.md Updates runtime repository guidance.
base/images/tests/cases/static/test_footprint.py Generalizes family-mapping docstring.
base/images/minimal-os/minimal-os.kiwi Removes minimal OS dev profile.
base/images/images.toml Removes dev image registrations.
base/images/container-base/container-base.kiwi Removes core-dev profile and OCI tag.
base/comps/azurelinux-repos/microsoft.repo Removes obsolete standalone source file.
base/comps/azurelinux-repos/azurelinux.repo.in Defines all channel repository sections.
base/comps/azurelinux-repos/azurelinux-repos.spec Implements unified channel packaging.
.github/instructions/kiwi.instructions.md Updates Kiwi image guidance.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread base/comps/azurelinux-repos/azurelinux-repos.spec Outdated
Requires: system-release(%{version})
Requires: azurelinux-gpg-keys >= %{version}-%{release}
Conflicts: %{name}-dev
Obsoletes: %{name}-dev < %{version}-%{release}
Comment thread base/images/tests/README.md Outdated
Comment thread base/comps/azurelinux-repos/azurelinux-repos.spec Outdated
Comment thread base/images/images.toml Outdated
Comment thread .github/instructions/kiwi.instructions.md Outdated

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 17 out of 18 changed files in this pull request and generated no new comments.

Suppressed comments (1)

base/comps/azurelinux-repos/azurelinux-repos.spec:94

  • The enabled preview channel points to /azurelinux/4/preview, but that endpoint does not currently expose RPM repository metadata; the published AZL 4 preview tree used elsewhere in this repository is /azurelinux/4.0/beta (for example, distro/mock/azl4/stage2/azurelinux-4.0.tpl:92). Since the base section is enabled with skip_if_unavailable=False, this makes normal DNF metadata refreshes fail. Point this at the live preview tree, or ensure the new endpoint is populated before shipping this configuration.
# NOTE: We force-enable preview repos until production repos are fully populated.
render_channel_repo \
    "$RPM_BUILD_ROOT/etc/yum.repos.d/azurelinux-preview.repo" \
    'https://packages.microsoft.com/azurelinux/4/preview' \
    azurelinux-preview Preview 1

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 17 out of 18 changed files in this pull request and generated 1 comment.

Suppressed comments (1)

base/comps/azurelinux-repos/azurelinux-repos.spec:93

  • The preview prefix has the same invalid major-only path: PMC publishes Azure Linux 4 repositories beneath /azurelinux/4.0/, not /azurelinux/4/. Since preview base is force-enabled and unavailable repositories are fatal for that section, this also breaks DNF transactions. Use $releasever (or 4.0) in this URL.
    'https://packages.microsoft.com/azurelinux/4/preview' \

Comment thread base/comps/azurelinux-repos/azurelinux-repos.spec Outdated
@reubeno

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

Comment thread base/comps/azurelinux-repos/azurelinux-repos.spec Outdated
Comment thread base/comps/azurelinux-repos/azurelinux.repo.in Outdated
Comment thread base/images/container-base/container-base.kiwi
- ship production and preview repos for base, cloud-native, and Microsoft
- temporarily enable preview binaries while production repos are populated
- replace azurelinux-repos-dev with one runtime repository package
- remove duplicate -dev image profiles, registrations, and tags

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

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 27 out of 28 changed files in this pull request and generated no new comments.

@reubeno

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

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.

3 participants