Add installer build/test to the runtime.yml pipeline (#705)
authorDavis Goodin <dagood@users.noreply.github.com>
Wed, 11 Dec 2019 00:35:29 +0000 (18:35 -0600)
committerGitHub <noreply@github.com>
Wed, 11 Dec 2019 00:35:29 +0000 (18:35 -0600)
commit6b7890626d6a5f7c8db1649dcde3761b7ff93455
treecf29863bc2180f1956656c71b4cb182cc16c77f3
parent72697763a6338aa8eed35b2a9eae11e8f817972d
Add installer build/test to the runtime.yml pipeline (#705)

* First pass to get an installer build integrated into runtime.yml with minimal changes to the installer jobs.

Fix paths to jobs.

Fix typos

Add platform to parameter lists.

Pass platform to all jobs.

Cleanup variable usages.

Don't pass buildConfig down to installer jobs. They use matrix strategy instead.

Fix variable usage in windows build.

Fix windows platform names.

Add missing platform parameter for Windows_NT_arm

Update last condition re parameters.dockerImage.

Rename dockerImage parameter to productBuildDockerImage to be more explicit.

Use pool and container parameters from platform-matrix in installer build.

Pass rootfs dir via crossrootfsDir to bash-build.yml.

Fix passing down container in runtime-installer pipeline.

Remove unused Linux_x64_raw config.

* Add support for clang 9 to corehost build.

* Skip tests on Linux_musl_arm64

* runtime.yml installer build with live artifacts

Includes refactoring the runtime legs to avoid duplicating artifact
transfer logic and preserve the runtime standalone build.

* Fix installer overrides: accept live CI artifacts

* Use clone-checkout-bundle-step.yml everywhere

* Try using isOfficialBuild var from template expr

* Switch from $[] to $() to fix clone template

$[] becomes empty string when a variable is undefined. $() sticks around literally if the variable doesn't exist, messing up the command. Unfortunately $[] doesn't seem to work in this context so we must use $() and define the variable as empty string.
23 files changed:
eng/pipelines/common/clone-checkout-bundle-step.yml [new file with mode: 0644]
eng/pipelines/common/platform-matrix.yml
eng/pipelines/common/variables.yml [new file with mode: 0644]
eng/pipelines/common/xplat-setup.yml
eng/pipelines/coreclr/templates/xplat-job.yml
eng/pipelines/installer/azure-pipelines.yml
eng/pipelines/installer/installer-matrix.yml [new file with mode: 0644]
eng/pipelines/installer/jobs/base-job.yml [new file with mode: 0644]
eng/pipelines/installer/jobs/bash-build.yml
eng/pipelines/installer/jobs/osx-build.yml
eng/pipelines/installer/jobs/prepare-signed-artifacts.yml
eng/pipelines/installer/jobs/run-publish-project.yml
eng/pipelines/installer/jobs/steps/upload-job-artifacts.yml
eng/pipelines/installer/jobs/windows-build.yml
eng/pipelines/libraries/base-job.yml
eng/pipelines/libraries/build-job.yml
eng/pipelines/libraries/variables.yml
eng/pipelines/runtime.yml
src/installer/corehost/build.sh
src/installer/pkg/projects/netcoreapp/src/localnetcoreapp.override.targets
src/installer/pkg/projects/netcoreapp/src/netcoreapp.depproj
src/libraries/Directory.Build.props
src/libraries/Directory.Build.targets