Skip to content

build: add azldev distro cfg for stage2 prod builds using stage1 RPMs - #18225

Open
reubeno wants to merge 1 commit into
microsoft:4.0from
reubeno:prod-stage2-test
Open

build: add azldev distro cfg for stage2 prod builds using stage1 RPMs#18225
reubeno wants to merge 1 commit into
microsoft:4.0from
reubeno:prod-stage2-test

Conversation

@reubeno

@reubeno reubeno commented Jul 27, 2026

Copy link
Copy Markdown
Member

This config can be opted into by running:

azldev --config-file distro/stage2-prod.toml

NOTE: Presently is consuming from koji and requires VPN access. This requires disabling sslverify because kojihub's cert won't match hostnames, isn't rooted to a trusted root, etc.

This config can be opted into by running: azldev --config-file distro/stage2-prod.toml
Copilot AI review requested due to automatic review settings July 27, 2026 19:54

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

Adds an opt-in Azure Linux Stage 2 production build target backed by Stage 1 RPMs from Koji.

Changes:

  • Defines the 4.0-stage2-prod distro variant.
  • Adds an opt-in default-version selector.
  • Adds shared and architecture-specific mock configurations.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
distro/stage2-prod.toml Selects the production Stage 2 target.
distro/azurelinux.distro.toml Registers the new distro version.
distro/mock/azl4/stage2-prod/azurelinux-4.0.tpl Configures the Koji-backed buildroot.
distro/mock/azl4/stage2-prod/azurelinux-4.0-x86_64.cfg Adds x86_64 mock settings.
distro/mock/azl4/stage2-prod/azurelinux-4.0-aarch64.cfg Adds aarch64 mock settings.

Comment thread distro/mock/azl4/stage2-prod/azurelinux-4.0.tpl
@reubeno
reubeno marked this pull request as ready for review July 27, 2026 21:14
@reubeno
reubeno requested a review from a team as a code owner July 27, 2026 21:14
@reubeno

reubeno commented Jul 28, 2026

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

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

@christopherco christopherco left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor nit (non-blocking). Otherwise LGTM

config_opts['legal_host_arches'] = ('aarch64',)

# Include common Azure Linux 4.0 configuration
include('azurelinux-4.0.tpl') No newline at end of file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add newline at EOF

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