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

@reubenoreuben 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

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

CopilotAI 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
FileDescription
specs/a/azurelinux-repos/microsoft.repoRemoves generated standalone Microsoft repo.
specs/a/azurelinux-repos/azurelinux.repo.inExpands generated channel template.
specs/a/azurelinux-repos/azurelinux-repos.specUpdates generated package specification.
locks/azurelinux-repos.lockRefreshes component fingerprint.
base/images/wsl/wsl.kiwiRemoves WSL dev profile.
base/images/vm-iso-installer/vm-iso-installer.kiwiUnifies installer repository package.
base/images/vm-iso-installer/config.shRemoves variant selection and exclusions.
base/images/vm-base/vm-base.kiwiRemoves VM dev profile.
base/images/tests/utils/pytest_plugin.pyGeneralizes variant documentation.
base/images/tests/README.mdUpdates runtime repository guidance.
base/images/tests/cases/static/test_footprint.pyGeneralizes family-mapping docstring.
base/images/minimal-os/minimal-os.kiwiRemoves minimal OS dev profile.
base/images/images.tomlRemoves dev image registrations.
base/images/container-base/container-base.kiwiRemoves core-dev profile and OCI tag.
base/comps/azurelinux-repos/microsoft.repoRemoves obsolete standalone source file.
base/comps/azurelinux-repos/azurelinux.repo.inDefines all channel repository sections.
base/comps/azurelinux-repos/azurelinux-repos.specImplements unified channel packaging.
.github/instructions/kiwi.instructions.mdUpdates Kiwi image guidance.

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

Comment threadbase/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 threadbase/images/tests/README.md Outdated
Comment threadbase/comps/azurelinux-repos/azurelinux-repos.spec Outdated
Comment threadbase/images/images.toml Outdated
Comment thread.github/instructions/kiwi.instructions.md Outdated

CopilotAI 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

CopilotAI 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 threadbase/comps/azurelinux-repos/azurelinux-repos.spec Outdated
@reubeno

Copy link
Copy Markdown
MemberAuthor

/azp run

@azure-pipelines

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

Comment threadbase/comps/azurelinux-repos/azurelinux-repos.spec Outdated
Comment threadbase/comps/azurelinux-repos/azurelinux.repo.in Outdated
Comment threadbase/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>

CopilotAI 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
MemberAuthor

/azp run

@azure-pipelines

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

Sign up for freeto 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

@reubeno@ddstreetmicrosoft