From f9e3e28a33491318d649a196215e7a87d68dcd54 Mon Sep 17 00:00:00 2001 From: Drew Scoggins Date: Wed, 17 Nov 2021 15:41:56 -0800 Subject: [PATCH] Update docker image (#61217) * Add support for custom container for Linux Arm64 Update platform_matrix.yml to allow custom containers for Arm64 Linux runs. This is required for our performance runs as we need a newer version of the python runtime. This change follows the same pattern as https://github.com/dotnet/runtime/pull/59202/files * Update perf_slow.yml with correct container values --- eng/pipelines/common/platform-matrix.yml | 5 ++++- eng/pipelines/coreclr/perf_slow.yml | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/common/platform-matrix.yml b/eng/pipelines/common/platform-matrix.yml index d58606fc5597d..ad3dbd4db8bc0 100644 --- a/eng/pipelines/common/platform-matrix.yml +++ b/eng/pipelines/common/platform-matrix.yml @@ -65,7 +65,10 @@ jobs: targetRid: linux-arm64 platform: Linux_arm64 container: - image: ubuntu-16.04-cross-arm64-20210719121212-8a8d3be + ${{ if eq(parameters.container, '') }}: + image: ubuntu-16.04-cross-arm64-20210719121212-8a8d3be + ${{ if ne(parameters.container, '') }}: + image: ${{ parameters.container }} registry: mcr jobParameters: runtimeFlavor: ${{ parameters.runtimeFlavor }} diff --git a/eng/pipelines/coreclr/perf_slow.yml b/eng/pipelines/coreclr/perf_slow.yml index 2be7b5345a1a5..e8410af6d361f 100644 --- a/eng/pipelines/coreclr/perf_slow.yml +++ b/eng/pipelines/coreclr/perf_slow.yml @@ -39,6 +39,7 @@ jobs: jobTemplate: /eng/pipelines/mono/templates/build-job.yml runtimeFlavor: mono buildConfig: release + container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436 platforms: - Linux_arm64 @@ -47,6 +48,7 @@ jobs: parameters: jobTemplate: /eng/pipelines/common/build-coreclr-and-libraries-job.yml buildConfig: release + container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436 platforms: - Linux_arm64 jobParameters: @@ -58,6 +60,7 @@ jobs: jobTemplate: /eng/pipelines/coreclr/templates/perf-job.yml buildConfig: release runtimeFlavor: mono + container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436 platforms: - Linux_arm64 jobParameters: @@ -76,6 +79,7 @@ jobs: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: release runtimeFlavor: mono + container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436 platforms: - Browser_wasm jobParameters: @@ -98,6 +102,7 @@ jobs: parameters: jobTemplate: /eng/pipelines/common/build-coreclr-and-libraries-job.yml buildConfig: release + container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436 platforms: - Linux_arm64 - windows_arm64 @@ -109,6 +114,7 @@ jobs: parameters: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: release + container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436 runtimeFlavor: mono platforms: - Browser_wasm @@ -129,6 +135,7 @@ jobs: parameters: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: release + container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436 runtimeFlavor: mono platforms: - Linux_arm64 @@ -154,6 +161,7 @@ jobs: runtimeFlavor: aot platforms: - Linux_arm64 + container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436 jobParameters: testGroup: perf liveLibrariesBuildConfig: Release @@ -172,6 +180,7 @@ jobs: runtimeFlavor: coreclr platforms: - Linux_arm64 + container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436 jobParameters: testGroup: perf liveLibrariesBuildConfig: Release