Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Gocke <andy@commentout.net>2022-02-17 04:20:00 +0300
committerGitHub <noreply@github.com>2022-02-17 04:20:00 +0300
commit50b4abbe07fd6f89bfa2f91b2e92a9851d3aa2d1 (patch)
tree9a38efe696f8c482268f96c2c9a68021a1a97e09 /eng/pipelines/common
parentf29ba20bec327dc18013abd0a867ab3a95448a73 (diff)
Disable component governance for musl runs (#65454)
Diffstat (limited to 'eng/pipelines/common')
-rw-r--r--eng/pipelines/common/global-build-job.yml6
-rw-r--r--eng/pipelines/common/templates/runtimes/xplat-job.yml4
2 files changed, 9 insertions, 1 deletions
diff --git a/eng/pipelines/common/global-build-job.yml b/eng/pipelines/common/global-build-job.yml
index c9015681d1e..6cfcf824ab9 100644
--- a/eng/pipelines/common/global-build-job.yml
+++ b/eng/pipelines/common/global-build-job.yml
@@ -49,6 +49,10 @@ jobs:
enablePublishTestResults: ${{ parameters.enablePublishTestResults }}
testResultsFormat: ${{ parameters.testResultsFormat }}
+ # Component governance does not work on musl machines
+ ${{ if eq(parameters.osSubGroup, '_musl') }}:
+ disableComponentGovernance: true
+
workspace:
clean: all
enableRichCodeNavigation: ${{ parameters.enableRichCodeNavigation }}
@@ -124,7 +128,7 @@ jobs:
inputs:
artifact: Mono_Offsets_${{monoCrossAOTTargetOS}}
path: '$(Build.SourcesDirectory)/artifacts/obj/mono/offsetfiles'
-
+
- ${{ if eq(parameters.buildingOnSourceBuildImage, true) }}:
- template: /eng/common/templates/steps/source-build.yml
parameters:
diff --git a/eng/pipelines/common/templates/runtimes/xplat-job.yml b/eng/pipelines/common/templates/runtimes/xplat-job.yml
index 6e5d208f379..5f4ca4c3ed8 100644
--- a/eng/pipelines/common/templates/runtimes/xplat-job.yml
+++ b/eng/pipelines/common/templates/runtimes/xplat-job.yml
@@ -65,6 +65,10 @@ jobs:
${{ if eq(parameters.osGroup, 'windows') }}:
agentOs: windows
+ # Component governance does not work on musl machines
+ ${{ if eq(parameters.osSubGroup, '_musl') }}:
+ disableComponentGovernance: true
+
# Setting this results in the arcade job template including a step
# that gathers asset manifests and publishes them to pipeline
# storage. Only relevant for build jobs.