Skip to content

Update mirror-base-images-public pipeline to use publishConfig/appsettings.json - #1917

Merged
lbussell merged 3 commits into
dotnet:mainfrom
lbussell:update-copy-base-images
Jan 8, 2026
Merged

lbussell merged 3 commits into
dotnet:mainfrom
lbussell:update-copy-base-images

Conversation

@lbussell

@lbussell lbussell commented Jan 8, 2026 •

Copy link
Copy Markdown
Member

Ever since #1900 was merged, scheduled runs of the mirror-base-images-public pipeline have been failing with the error: /eng/pipelines/templates/jobs/copy-base-images-public-mirror.yml (Line: 31, Col: 17): Unexpected parameter 'repoPrefix'.

The pipeline needed to be updated to use repoPrefix as part of the acr object in the publishConfig, instead of using a separate parameter. Other changes include:

Test runs:

  • Dry run of copy base images pipeline: build#2874704
  • Unofficial run of imagebuilder pipeline, to ensure that the shared copy-base-images logic is not adversely affected: build#2874735

Copilot AI and others added 3 commits January 8, 2026 08:35
* Initial plan

* Update copy-base-images pipeline to use new publishConfig format

Co-authored-by: lbussell <[email protected]>

* Remove default values for required parameters in copy-base-images-public-mirror

Co-authored-by: lbussell <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: lbussell <[email protected]>
@lbussell
lbussell requested a review from a team as a code owner January 8, 2026 16:52
@lbussell
lbussell enabled auto-merge (squash) January 8, 2026 17:01
@lbussell
lbussell merged commit 6b7a2c0 into dotnet:main Jan 8, 2026
22 checks passed
@lbussell
lbussell deleted the update-copy-base-images branch January 8, 2026 17:10
lbussell added a commit that referenced this pull request Jan 8, 2026
#1917 uses the same prefix variable for public/internal mirror repos,
when in reality they are different. We don't use a prefix for the public
repo (we use an empty string as the prefix).

It looks like previously, we relied on overriding the `mirrorRepoPrefix`
variable in the mirror-base-images-public pipeline. A better solution
here is to explicitly set two different variables.
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