Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Split blob publish into stages run before Arcade - #7779

Merged
dagood merged 2 commits into
dotnet:masterfrom
dagood:blobs-pre-promote
Aug 21, 2019
Merged

Split blob publish into stages run before Arcade#7779
dagood merged 2 commits into
dotnet:masterfrom
dagood:blobs-pre-promote

Conversation

@dagood

@dagood dagood commented Aug 21, 2019

Copy link
Copy Markdown
Member

For https://github.com/dotnet/core-setup/issues/7772.

The Arcade publish stages contain the job that promotes the build, causing auto-update PRs to be generated. This means that running installer publish after Arcade can cause a temporarily broken update PR. To fix this, publish blobs before the Arcade stages.

Leave dotnet/versions publish and build finalization until after the Arcade stages, so that they still only happen after the nupkgs are published.

Example: (with debug commit applied to only build macOS for speed) https://dev.azure.com/dnceng/internal/_build/results?buildId=317938&view=results

/cc @mmitche @JohnTortugo

The Arcade publish stages contain the job that promotes the build, causing auto-update PRs to be generated. This means that running installer publish after Arcade can cause a temporarily broken update PR. To fix this, publish blobs before the Arcade stages.

Leave dotnet/versions publish and build finalization until after the Arcade stages, so that they still only happen after the nupkgs are published.

@MichaelSimons MichaelSimons left a comment

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.

I left a few comments that I think will help the readability.

Comment thread azure-pipelines.yml Outdated
Comment thread eng/stages/custom-publish.yml
Comment thread eng/stages/custom-publish.yml Outdated
Remove "Custom" verbiage, not useful and in some cases now incorrect.

Order publish.yml stages by dependency to help readability.
@dagood

dagood commented Aug 21, 2019

Copy link
Copy Markdown
Member Author

Agreed on all of those, fired off a new validation build: https://dev.azure.com/dnceng/internal/_build/results?buildId=319158&view=results.

@dagood

dagood commented Aug 21, 2019

Copy link
Copy Markdown
Member Author

New test build worked, @MichaelSimons PTAL

@MichaelSimons MichaelSimons left a comment

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.

:shipit:

@dagood
dagood merged commit 54ae67a into dotnet:master Aug 21, 2019
@dagood
dagood deleted the blobs-pre-promote branch August 21, 2019 20:39
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
)

* Split blob publish into stages run before Arcade

The Arcade publish stages contain the job that promotes the build, causing auto-update PRs to be generated. This means that running installer publish after Arcade can cause a temporarily broken update PR. To fix this, publish blobs before the Arcade stages.

Leave dotnet/versions publish and build finalization until after the Arcade stages, so that they still only happen after the nupkgs are published.

* Changes per feedback

Remove "Custom" verbiage, not useful and in some cases now incorrect.

Order publish.yml stages by dependency to help readability.


Commit migrated from dotnet/core-setup@54ae67a
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants