Commit Graph

82 Commits

Author SHA1 Message Date
Nate McMaster c3beb1f9b1
build.cmd/sh changes (#5958)
Update the build scripts to support building subfolders or subgroups of projects

* Add build scripts for ci
* Remove obsolete scripts
* Add flags like --test and --pack to control running just test or packaging
* Add flags like --managed and --native to control building sub-types of projects
* Remove KoreBuild bootstrapper flags
* Update to extensions 3.0.0-preview.18619.1 (needed to get a fix for aspnet/Extensions#815 to make this change work on MSBuild.exe)
2018-12-20 16:52:15 -08:00
Nate McMaster 335c9be7b4
Update the artifacts directory organization and simplify publishing targets (#5701)
This simplifies the way that we publish files to our network drop share.

Changes:
* Instead of explicitly listing every file that needs to publish, use directories to classify packages and artifacts into different categories.
* Add documentation for the expected layout of artifacts/
* Remove the need for static analysis to determine which packages go to which project
* Add the MSBuild property "IsProductPackage" to .csproj files which ship as a package to NuGet.org.
2018-12-18 11:40:13 -08:00
Nate McMaster 85e2147ff0
Merge branch 'release/2.2' 2018-12-07 11:11:44 -08:00
Nate McMaster 569a14ecb8
Merge branch 'release/2.1' into release/2.2 2018-12-06 17:09:03 -08:00
Justin Kotalik 0588b13f5b Fix 2.1 build issues and remove obsolete build code (#4443)
- Stop producing the 'Universe' lineup package
- Removes all PackageLineup code
- Use full msbuild on Windows
- Fix invalid reference to internal.aspnetcore.sdk in 2.1.x
- Fix shared folder references for PackageArchive task.
2018-12-05 17:01:02 -08:00
Nate McMaster 0cbfa9ce6d
Update branding to 3.0.0-preview (#4171)
Changes:
* This uses date-based versioning
* Builds are `3.0.0-preview-$(buildnumber)`, not alpha1 or preview1.
2018-11-20 19:47:12 -08:00
Nate McMaster 71ca1faa6b
React to MSBuild breaking changes and remove ProdCon v1 variables (#4161)
This should unblock the consumption of the latest .NET Core SDK, which includes breaking changes in MSBuild. We don't _really_ need the MSBuild APIs which were broken because ProdCon v1 is dead. This removes the unused ProdCon v1 tasks and targets.
2018-11-20 11:34:53 -08:00
Nate McMaster bd5bf34351
Merge branch 'release/2.2' 2018-11-09 07:29:37 -08:00
Nate McMaster db0d3c333d
Fix NU1605 build error by ensuring package versions are set correctly in subfolder projects (#3987) 2018-11-08 23:40:14 -08:00
Nate McMaster 51c32dc4dc
Merge branch 'release/2.2' 2018-10-31 14:39:34 -07:00
Nate McMaster 569016c2c5
Code sign all packages in a single batch (#3778)
Changes:
* Sign shared fx zips
* Sign metapackages
* Disable signing on inner repo builds and instead sign all packages at the end
* Add a list of files from other Microsoft teams which can be excluded from signing
* Add a list of 3rd party assemblies which are bundled in the shared frameworks.
2018-10-31 12:12:15 -07:00
Nate McMaster dc37a2c23d
Merge branch 'release/2.2' 2018-10-19 14:11:58 -07:00
Nate McMaster 4134e7bcf3
Re-enable repo code signing 2018-10-19 14:08:42 -07:00
Nate McMaster 84ca21ed06
Merge branch 'release/2.2' 2018-10-19 10:26:30 -07:00
Nate McMaster 7f34909708
Include EFCore in real code signing 2018-10-19 10:22:37 -07:00
Nate McMaster 6994c4fc48
Merge release/2.2 and aspnet/WebSockets master branch 2018-10-17 16:06:14 -07:00
Nate McMaster d991c50c82
Merge release/2.1 and aspnet/WebSockets release/2.2 2018-10-17 15:47:04 -07:00
Nate McMaster c2e4a74f7d
React to renaming this repo from Universe to AspNetCore 2018-10-17 10:24:18 -07:00
Nate McMaster a35226131a
Merge branch release/2.2 2018-10-16 12:02:18 -07:00
Nate McMaster 489a88d21e
Merge aspnet/DataProtection release/2.2 into this repo 2018-10-15 10:21:02 -07:00
Nate McMaster 4dfd351c84
Remove DataProtection submodule and update path to DP source code to local folder 2018-10-15 09:46:20 -07:00
Nate McMaster 24d13700d7
Merge branch 'release/2.2' 2018-10-12 17:56:10 -07:00
Nate McMaster 9dffb5614f
Merge branch 'release/2.1' into release/2.2 2018-10-11 16:23:42 -07:00
Nate McMaster a45cc2cb82
Share DOTNET_HOME with sub-repo builds (#1488)
This shares the DOTNET_HOME variable on CI builds between Universe and each sub-repo build. This prevents each repository build installing duplicate copies of .NET Core SDK and runtimes.
2018-10-11 14:47:58 -07:00
Nate McMaster af478810dd
Merge branch 'release/2.2' 2018-10-11 12:51:01 -07:00
Nate McMaster b5c0ed228a
Skip code-signing EFCore with repo signing while we workout issues with signtool (#1487)
Code-signing will still happen. It will fallback to legacy signing which happens after Universe builds
2018-10-11 12:50:16 -07:00
Ryan Brandenburg 0afaccf4df
Prevent contention (#1486)
Pass CI to Repo builds
2018-10-11 12:30:37 -07:00
Nate McMaster a4b8bc4a50
Run real-code signing on individual repo builds (#1453) 2018-10-11 10:52:49 -07:00
Nate McMaster b4fbc1a6e3
Merge branch 'release/2.2' 2018-10-04 16:08:21 -07:00
Nate McMaster 5d261e46ce
Support checked-in global.json files 2018-10-04 09:26:44 -07:00
Ryan Brandenburg 9a1f6c3a4e Try installing in Universe 2018-09-24 10:42:11 -07:00
Nate McMaster 79d1bf09d7
Remove sign request merging
We never ended up using this anyways. We're converting to a new sign tool which makes these unnecessary
2018-09-07 11:01:52 -07:00
Nate McMaster 2e96271e69
Merge branch 'release/2.1' into release/2.2 2018-07-25 09:29:48 -07:00
Nate McMaster e69a47f230
Implement patch policies per repo and set default to ProductChangesOnly
Our policy since 1.0.0 has been to always cascade version updates in the packages we own. e.g. if Logging has a product change in 2.1.x, then Kestrel, EF Core, Mvc, etc also re-ship with the updated Logging dependency. This has been done for a variety of reasons:

* NuGet does not show updates for transitive dependencies, only direct ones
* NuGet does resolves the lowest compatible transitive dependencies
* ASP.NET Core ships to both .NET Framework (where transitive dependency version matters) and .NET Core (where it matters less if you use the shared framework)

While transitive dependencies is still an important scenario, this practice of always patching has led to bigger issues.

* High probability users will unintentionally upgrade out of the shared framework: #3307
* Conflicts with metapackages that attempt to use exact version constraints: aspnet/Universe#1180
* A quality perception issue: the high volume of new versions in servicing updates with only metadata changes has created the impression that new versions of packages may not be very important. It's also made it appear like there are more issues product than there really are.
* High volume of packages changing with only metadata changes. Of the last 301 packages published in a servicing update, only 11 contained actual changes to the implementation assemblies. (3.5%)

This change implements a system to verify a new, non-cascading versioning policy for servicing updates. This required changes to repos to pin version variables to that matter per-repo,
and to remove some of the restrictions and checks.

Incidentally, this should make defining new patches easier because it automatically determines which packages are or are not patching in the release.
2018-07-12 21:33:50 -07:00
Nate McMaster 9a7ca64138
Gather and merge sign requests from repo builds 2018-06-07 12:06:06 -07:00
Nate McMaster ca4e81b975
Merge branch 'release/2.0' into release/2.1 2018-06-01 17:08:08 -07:00
Nate McMaster 5f3d3d1aea
Pass DotNetAssetRootUrl to repository build context and install x86 shared runtime (#1115) 2018-04-24 15:37:08 -07:00
Nate McMaster a3c3928335
Add parameter so we can produce binary logs for individual repos 2018-04-19 17:59:55 -07:00
Nate McMaster eb5b94e3c4
Make consistent variable names for RestoreSourcePropsPath 2018-03-26 16:03:09 -07:00
Nate McMaster 6eb4b0ecfb
Prepare the 2.0.7 patch 2018-03-22 10:08:30 -07:00
Nate McMaster 8dabce0c19
Restore the original lockfile in repos after invoking build.cmd/sh (#865) 2018-02-08 17:23:35 -08:00
Nate McMaster 230e4a02ef
Split compilation and tests into separate phases (#779)
* Split compilation and tests into separate phases
* Ensure template tests are skipped, and reduce duplication between test/build repo targets
* Show summary at the end of which repos failed
2018-01-12 09:46:36 -08:00
Nate McMaster 49c952a035 Update build tools to 2.0.3-rtm-10005 2018-01-08 11:10:45 -08:00
Nate McMaster af88d38cf7 Update to build tools 2.1.0-preview1-15651 2017-12-28 16:17:15 -08:00
Nate McMaster 5d53df55c4 Update analyze build graph to ignore unknown artifact types 2017-12-20 15:42:26 -08:00
Nate McMaster dfd15c8679
Only produce one version of the runtime store, templates packages, and installers (#665) 2017-11-21 17:05:52 -08:00
Nate McMaster fac246e67c
Add support for PB_SkipTests and PB_SignType variables (#646) 2017-11-13 12:27:01 -08:00
Nate McMaster e19c552cd3 Fix missing package source and react to target rename 2017-11-09 11:52:50 -08:00
Nate McMaster dae1f1ce78 Merge branch 'rel/2.0.3' into dev 2017-11-08 16:31:07 -08:00
Nate McMaster 7c0d83e7ff
Stop producing PackageLineup and remove obsolete code (#628) 2017-11-03 16:20:29 -07:00