feat(azurelinux-repos): configure release channels - #18539
feat(azurelinux-repos): configure release channels#18539reuben olinsky (reubeno) wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
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-devand updates image definitions to use one repository package. - Removes
-devimage 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.
| Requires: system-release(%{version}) | ||
| Requires: azurelinux-gpg-keys >= %{version}-%{release} | ||
| Conflicts: %{name}-dev | ||
| Obsoletes: %{name}-dev < %{version}-%{release} |
a9f87b8 to
b00a924
Compare
There was a problem hiding this comment.
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 withskip_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
b00a924 to
2c5694c
Compare
There was a problem hiding this comment.
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(or4.0) in this URL.
'https://packages.microsoft.com/azurelinux/4/preview' \
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
- 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>
2c5694c to
12f691b
Compare
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
base,cloud-native, andmicrosoftazurelinux-repos-devwith one runtime repository package-devimage profiles, registrations, and tagsResolves: AB#22996