Commit graph

12 commits

Author SHA1 Message Date
Matt Thalman
ed324e09c7
Isolate package flow between repos (#18557)
As a prerequisite to enabling parallel builds of the repos in the VMR, it's necessary to isolate the package flow between repos. This ensures that repo dependencies are defined correctly. Prior to these changes, the packages outputted by repos went to the same directory (Shipping or NonShipping) and those two directories were used as the package feed inputs to dependent repos. This would be dangerous in the context of running builds in parallel across repos because any ill-defined dependencies could lead to race conditions. For example, consider the msbuild repo's dependency on System.Text.Json from the runtime repo. If runtime was not defined as a dependency of msbuild, then there's no guarantee that System.Text.Json will exist when it restores it. Based on timing, it may exist in one build and then not exist in another build.

To solve this problem, the packages output from a repos build are placed in a repo-specific package location as a sub-directory of the package location (Shipping or NonShipping). Previously, all repos would output their packages to `artifacts/packages/Release/[NonShipping|Shipping]`. With these changes, they output to `artifacts/packages/Release/[NonShipping|Shipping]/<repo-name>`. This isolates all packages on a per-repo basis. The next step is to provide access to these packages based on dependencies. Going back to msbuild's dependency on runtime, this is accomplished by modifying msbuild's nuget.config file to include feeds specific to runtime:

```xml
<add key="source-built-runtime" value="/vmr/artifacts/packages/Release/Shipping/runtime/" />
<add key="source-built-transport-runtime" value="/vmr/artifacts/packages/Release/NonShipping/runtime/" />
```
2024-02-22 10:25:55 -06:00
Viktor Hofer
a880230afd
Remove DotNetBuildFromSource inside the orchestrator (#18402) 2024-01-26 11:27:18 +01:00
Viktor Hofer
3f980aa02a Update all repo-projects to new switches and clean-up 2024-01-11 20:12:51 +01:00
Nikola Milosavljevic
018dee785f
Stop injecting NoWarns into repo's Directory.Build.props (#17712) 2023-11-07 12:29:07 -08:00
dotnet-maestro[bot]
b68c0967d6
[main] Update dependencies from dotnet/arcade (#17126)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Oleksandr Didyk <odidyk@microsoft.com>
2023-08-10 08:49:52 -05:00
Oleksandr Didyk
dcf485b822
allow empty intermediate for NuGet (#17100) 2023-08-02 10:09:27 -05:00
Michael Simons
3df53fc088
Change the PackageVersionPropsFlowType to DependenciesOnly (#17011) 2023-07-19 12:44:58 -05:00
Matt Thalman
29bfd81725
Disable warnings for aspnetcore, cleanup NoWarns (#16792) 2023-06-23 01:08:59 +00:00
Nikola Milosavljevic
441c290d7a
Enable PVP flow for nuget.client (#16603) 2023-06-08 08:30:31 -07:00
Nikola Milosavljevic
3191211534 Add NoWarn for SYSLIB0051 to work around obsolete API 2023-06-01 16:07:26 +00:00
Michael Simons
adbf0bfcbe
Remove obsolete source-build repoAPI (#15526) 2023-02-16 18:40:45 +00:00
Přemek Vysoký
5aac0db522
Move src/SourceBuild/tarball/* up one folder (#15166) 2022-12-21 21:47:54 +01:00
Renamed from src/SourceBuild/tarball/content/repo-projects/nuget-client.proj (Browse further)