This backports changes made in the 2.2 build tools. This is anticipation of Arcade convergence. We already stopped using signrequest.xml in other parts of the stack. New tools replace this functionality.
* Backport implementation of Arcade code signing
* Remove sign request generation and validation
* Sign .Sources packages by default
* Use built-in dotnet-tool shim generation
* Add support for code signing tasks
* Update YAML syntax to 'jobs' instead of phases
* Update pool specification
* Add obsolete warning to old templates
* Remove ASPNETCORE_TEST_LOG_DIR
Fixes a bug in the bootstrapper. When calling just `-ci`, KoreBuild was still installing to `HOME` or `USERPROFILE`. This lifts the local-or-not setting for DOTNET_HOME into the bootstrapper so both the .NET Core SDK *and* korebuild end up in the same folder.
Using `-ci` in Universe causes the NuGet cache for each repo build to be different. This means we end up restoring everything like 53 times.
This changes `-ci` builds so sub-repo builds can use the same NuGet cache
Instead of always installing the .NET Core 2.1.0 runtime, this uses runtime rollforward to lift NGPV's console tool to any version of .NET Core it finds.
Changes:
* Add `configuration` parameter to default-build.yml template to control Debug/Release builds.
* By default, compile Debug and Release for project-ci
* Update the BuildTools repo to use the project-ci.yml template
* Update the name of the build artifacts to reflect the OS and config name used to produce them
* Add targets for finding the repostiory branch
* KoreBuild: make upload.ps1 part of the artifacts output and modify the format so it can be consumed by VSTS deployment pipelines.
* ci templates: Publish artifacts placed in artifacts/build by default, but not for PRs from external forks