Skip to content

Simplify yml using pipelineymlgen: container list#2231

Merged
dagood merged 1 commit intomicrosoft/mainfrom
dev/dagood/simple-ymlgen
Apr 23, 2026
Merged

Simplify yml using pipelineymlgen: container list#2231
dagood merged 1 commit intomicrosoft/mainfrom
dev/dagood/simple-ymlgen

Conversation

@dagood
Copy link
Copy Markdown
Member

@dagood dagood commented Apr 14, 2026

Simplify and deduplicate some yml using pipelineymlgen.

For the container mapping, relies on pipelineymlgen improvements:

@dagood dagood force-pushed the dev/dagood/simple-ymlgen branch from 8dd2acb to 7bd030a Compare April 20, 2026 17:03
Create pr.gen.yml to generate both pr-pipeline.yml and pr-outerloop-pipeline.yml
from a single source, using inlineif for the outerloop vs innerloop differences.

Create rolling.gen.yml to generate both rolling-innerloop-pipeline.yml and
rolling-pipeline.yml from a single source, using inlineif for the innerloop-
specific parameters section and builder flags.

Also fix a duplicate entry in variables/codeql.yml.
@dagood dagood force-pushed the dev/dagood/simple-ymlgen branch from 7bd030a to 4264b4f Compare April 20, 2026 17:06
@dagood dagood changed the title Simplify yml using pipelineymlgen: container list, pools/images Simplify yml using pipelineymlgen: container list Apr 20, 2026
@dagood dagood marked this pull request as ready for review April 20, 2026 17:08
@dagood dagood requested a review from a team as a code owner April 20, 2026 17:08
Copilot AI review requested due to automatic review settings April 20, 2026 17:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reduces duplication in Azure DevOps pipeline YAML by introducing pipelineymlgen generator inputs and a shared container list, then regenerating the affected pipeline definitions accordingly.

Changes:

  • Add pr.gen.yml and rolling.gen.yml generator sources to produce the PR and rolling pipelines.
  • Centralize container image definitions into eng/pipeline/data/containers.yml and use it to generate both AzDO resources.containers and 1ES extends.parameters.containers formats.
  • Update the eng/_util go-infra dependency to pick up required pipelineymlgen improvements; remove a duplicate CodeQL variable entry.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
eng/pipeline/variables/codeql.yml Removes duplicate variable definition.
eng/pipeline/rolling.gen.yml New pipelineymlgen source for rolling inner/outer loop pipelines using shared containers data.
eng/pipeline/rolling-pipeline.yml Regenerated rolling outerloop pipeline with generator header and deduped container mapping.
eng/pipeline/rolling-innerloop-pipeline.yml Regenerated rolling innerloop pipeline with generator header and deduped container mapping.
eng/pipeline/pr.gen.yml New pipelineymlgen source for PR inner/outer loop pipelines using shared containers data.
eng/pipeline/pr-pipeline.yml Regenerated PR innerloop pipeline with generator header and shared containers.
eng/pipeline/pr-outerloop-pipeline.yml Regenerated PR outerloop pipeline with generator header and shared containers.
eng/pipeline/data/containers.yml New shared container/image list used by pipeline generation.
eng/_util/go.mod Bumps github.com/microsoft/go-infra dependency for pipelineymlgen features.
eng/_util/go.sum Updates module sums for the new go-infra version.

@dagood dagood merged commit d0387be into microsoft/main Apr 23, 2026
62 checks passed
@dagood dagood deleted the dev/dagood/simple-ymlgen branch April 23, 2026 21:25
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.

4 participants