8dc41755cb
* Switch repo to use native AzDO container support
This is a major refactor of the YAML used by the installer repo. The goal is to utilize the native container support that AzDO provides, rather than building containers on the fly and issuing commands using custom infrastructure. To do this, the YAML requires a bit of a refactor. The matrix strategy approach used by the repo to build a ton of different OS's does not work with containers, because a matrix strategy only changes the variables available to each build command. It cannot change the AzDO host environment. In order to resolve this, I refactored build.yml to take and use optional container names. In the process of doing this, I discovered a number of other things about the old YAML that just happened to 'accidentally' work and fixed them or did general cleanup. Including:
- This construct, used in build.yml, does not work as you might expect. If the parameter is not declared as a boolean (or not declared at all), this evaluates to "does this parameter exist", not "is it true":
```
${{ if parameters.pgoInstrument }}:
```
- I fully specified all the parameters and their types to avoid issues in the future.
- Build pool selection was moved to build.yml
- Removed some unused parameters.
- There was a **very** subtle indentation change here:
|
||
---|---|---|
.. | ||
BuildConfiguration | ||
common | ||
_prettyprint.sh | ||
Build.props | ||
build.yml | ||
configure-toolset.ps1 | ||
configure-toolset.sh | ||
CopyToLatest.cmd | ||
core-sdk-build-env.sh | ||
core-sdk-test-env.bat | ||
core-sdk-test-env.sh | ||
Key.snk | ||
ManualVersions.props | ||
native.proj | ||
Publishing.props | ||
restore-toolset.ps1 | ||
restore-toolset.sh | ||
sdl-tsa-vars.config | ||
SignCheckExclusionsFile.txt | ||
Signing.props | ||
source-build-tarball-build-official.yml | ||
source-build-tarball-build.yml | ||
SourceBuild.props | ||
SourceBuildPrebuiltBaseline.xml | ||
TestVersions.props | ||
version.csproj | ||
Version.Details.xml | ||
Versions.props |