Skip to content

Move to v4 publishing.#16639

Open
mmitche wants to merge 3 commits intodotnet:mainfrom
mmitche:dev/mmitche/arcade-v4-publishing
Open

Move to v4 publishing.#16639
mmitche wants to merge 3 commits intodotnet:mainfrom
mmitche:dev/mmitche/arcade-v4-publishing

Conversation

@mmitche
Copy link
Copy Markdown
Member

@mmitche mmitche commented Mar 28, 2026

To double check:

mmitche and others added 2 commits March 27, 2026 11:09
- Add publishingVersion parameter to jobs.yml template
- Rename enablePublishBuildAssets to enablePublishBuildToMaestro
- Forward publishingVersion to publish-build-assets.yml
- Set publishingVersion: 4 in eng/build.yml
- Remove DotNetPublishUsingPipelines from build args
- Add manifest gathering to job.yml for V4 pipeline artifacts
- Add templateContext.outputs to publish artifacts including manifests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
arguments: >
-BuildId $(BARBuildId)
-PublishingInfraVersion ${{ parameters.publishingInfraVersion }}
-PublishingInfraVersion 3
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why are we hardcoding 3 here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Because publishing is agnostic to the publishing infra version (e.g. VMR build passes 3). It just works transparently for v3/v4.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'm going to remove the parameter in another PR

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should we disable this for v4 ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's unrelated. This will pick up more than just the packages and assets if enabled. It picks up things like bin.

buildId: $(AzDOBuildId)
artifactName: PackageArtifacts
checkDownloadedFiles: true
- ${{ if eq(parameters.publishingInfraVersion, 4) }}:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: you can use if/else in yaml

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.

2 participants