From d5d2e4da9e1371533c27d073a09012ff96aeeffb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 11 Feb 2022 12:32:14 -0800 Subject: [PATCH] [release/6.0] Extend disable component governance for linux (#40158) * Extend disable component governance for linux Extension of https://github.com/dotnet/aspnetcore/pull/39898 * PR Feedback * Update ci.yml Co-authored-by: Tanay Parikh Co-authored-by: William Godbe --- .azure/pipelines/ci.yml | 1 + .azure/pipelines/jobs/default-build.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index cb0b5ed8a62a..2e8a54414837 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -543,6 +543,7 @@ stages: $(_InternalRuntimeDownloadArgs) installNodeJs: false installJdk: false + disableComponentGovernance: true skipComponentGovernanceDetection: true artifacts: - name: Linux_musl_x64_Logs diff --git a/.azure/pipelines/jobs/default-build.yml b/.azure/pipelines/jobs/default-build.yml index 46899dd8c334..35074f39e5b4 100644 --- a/.azure/pipelines/jobs/default-build.yml +++ b/.azure/pipelines/jobs/default-build.yml @@ -121,6 +121,8 @@ jobs: demands: ImageOverride -equals Build.Server.Amd64.VS2019 ${{ if ne(parameters.container, '') }}: container: ${{ parameters.container }} + ${{ if ne(parameters.disableComponentGovernance, '') }}: + disableComponentGovernance: ${{ parameters.disableComponentGovernance }} variables: - AgentOsName: ${{ parameters.agentOs }} - ASPNETCORE_TEST_LOG_MAXPATH: "200" # Keep test log file name length low enough for artifact zipping