Simplify publishing output paths - #2208
Open
lbussell wants to merge 39 commits into
Open
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Keep current shared templates on the published ImageBuilder contract while bundling the relative output paths with the next ImageBuilder release. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0f6c174-1904-42d2-8829-bc3cd05e05d0
lbussell
marked this pull request as ready for review
August 7, 2026 20:44
mthalman
reviewed
Aug 10, 2026
| { | ||
| if (string.IsNullOrWhiteSpace(_buildConfig.ArtifactStagingDirectory)) | ||
| { | ||
| throw new InvalidOperationException( |
Member
There was a problem hiding this comment.
Any call to ResolvePath will fail in the context of a PR build because generate-appsettings.yml skips outputting an appsettings.json file for PRs:
So no ArtifactStagingDirectory value will be set, causing this exception to throw.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The pipeline artifacts from the publish stage aren't consumed anywhere (that I could find). Yet, we upload them in three separate publish artifact tasks. That's a waste of time.
BuildConfiguration.ArtifactStagingDirectoryfor build artifact publishing and consumption. All input/output paths are relative to this directory. This is through a new abstraction,ArtifactService.