Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI for building N release with N-1 release artifacts #3156

Closed
lbussell opened this issue Dec 6, 2022 · 1 comment
Closed

Add CI for building N release with N-1 release artifacts #3156

lbussell opened this issue Dec 6, 2022 · 1 comment
Assignees
Labels
area-testing Improvements in CI and testing up-for-grabs

Comments

@lbussell
Copy link
Contributor

lbussell commented Dec 6, 2022

There is an important use case for source-build that we do not test in our CI today.

When distros have released SDK N and they want to release SDK N+1, they must build the N+1 SDK with the N SDK. So for example, the 6.0.111 SDK release must be built using the previously built 6.0.110 SDK. Our CI only ever builds the current SDK-in-development with either the Microsoft-produced N-1 SDK, or the N SDK itself in the case of our "bootstrap"/"with previous" CI leg.

We should add a new CI leg that builds the with a previously released source-build SDK and Source-built artifacts. This would require adding steps to one of the source-build release pipelines to upload a built SDK and artifacts for each release in blob storage, and a new CI leg that fetches them and builds with them (we can use the "with previous" infrastructure that's already in place for most of this).

I'm not sure at the moment whether the new SDK capture-and-upload step should be in the source-build-pre-release or the source-build-release pipeline. If it's in the pre-release pipeline, we have to make sure that we are not leaking MSRC bits by uploading them to a publicly accessible blob storage account.

@MichaelSimons
Copy link
Member

Closing as this was ported to main.

@github-project-automation github-project-automation bot moved this from In Progress to Done in .NET Source Build Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing Improvements in CI and testing up-for-grabs
Projects
Archived in project
Development

No branches or pull requests

2 participants