[AUTO-CHERRYPICK] Moved PR check's raw toolchain hashes to the pipeline UI. - branch main (#10324)

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
This commit is contained in:
CBL-Mariner-Bot 2024-09-03 15:35:56 -07:00 committed by GitHub
parent ff4bceec5e
commit e8fad6d316
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 10 deletions

View File

@ -1,10 +1,8 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# Since we're boosting our builds by using a private, pre-compiled raw toolchain
# the pipeline requires defining the following variables outside of the YAML:
# - rawToolchainCacheURL_AMD64
# - rawToolchainCacheURL_ARM64
# The "agentPool" parameter is defined in the "Agent pools (DEV)" variable group.
# The "rawToolchain*" parameters are defined in the "Raw toolchain info" variable group.
trigger: none
@ -13,15 +11,15 @@ parameters:
type: object
default:
- name: "AMD64"
agentPool: "$(DEV_AMD64_Managed)" # Pool defined inside the "Agent pools (DEV)" variable group.
agentPool: "$(DEV_AMD64_Managed)"
maxCPUs: "$(($(nproc) / 2))"
rawToolchainCacheURL: "$(rawToolchainCacheURL_AMD64)"
rawToolchainExpectedHash: "f56df34b90915c93f772d3961bf5e9eeb8c1233db43dd92070214e4ce6b72894"
rawToolchainCacheURL: "$(rawToolchainCacheURL_AMD64_2.0)"
rawToolchainExpectedHash: "$(rawToolchainCacheHash_AMD64_2.0)"
- name: "ARM64"
agentPool: "$(DEV_ARM64_Managed)" # Pool defined inside the "Agent pools (DEV)" variable group.
agentPool: "$(DEV_ARM64_Managed)"
maxCPUs: "$(($(nproc) / 3))"
rawToolchainCacheURL: "$(rawToolchainCacheURL_ARM64)"
rawToolchainExpectedHash: "65de43b3bdcfdaac71df1f11fd1f830a8109b1eb9d7cb6cbc2e2d0e929d0ef76"
rawToolchainCacheURL: "$(rawToolchainCacheURL_ARM64_2.0)"
rawToolchainExpectedHash: "$(rawToolchainCacheHash_ARM64_2.0)"
- name: debug
type: boolean
default: false
@ -36,6 +34,7 @@ resources:
variables:
- group: "Agent pools (DEV)"
- group: "Raw toolchain info"
- name: rpmsArtifactNameBase
value: RPMs
- name: toolchainArtifactNameBase