Skip to content

Commit

Permalink
Update docker image (#61217)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
DrewScoggins authored Nov 17, 2021
1 parent 16300e0 commit f9e3e28
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eng/pipelines/common/platform-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
9 changes: 9 additions & 0 deletions eng/pipelines/coreclr/perf_slow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -154,6 +161,7 @@ jobs:
runtimeFlavor: aot
platforms:
- Linux_arm64
container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436
jobParameters:
testGroup: perf
liveLibrariesBuildConfig: Release
Expand All @@ -172,6 +180,7 @@ jobs:
runtimeFlavor: coreclr
platforms:
- Linux_arm64
container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436
jobParameters:
testGroup: perf
liveLibrariesBuildConfig: Release
Expand Down

0 comments on commit f9e3e28

Please sign in to comment.