From fbdc5d12932c8607c1ae9bbc5a34f95628b9d029 Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Tue, 30 Mar 2021 15:45:57 +0800 Subject: [PATCH 1/5] Try managed_by_tanents patch --- azure-pipelines-v3.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines-v3.yml b/azure-pipelines-v3.yml index 1338ec24553..7d76df2e7fa 100644 --- a/azure-pipelines-v3.yml +++ b/azure-pipelines-v3.yml @@ -151,6 +151,8 @@ jobs: - script: dotnet tool update -g dotnet-trace displayName: Install dotnet-trace + - bash: curl https://raw.githubusercontent.com/Azure/azure-cli/fix-managed_by_tenants/src/azure-cli-core/azure/cli/core/_profile.py --output "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\core\_profile.py" + # Run Regression Tests - task: AzureCLI@2 displayName: Run regression tests From 3379512cc70014a754a8067e9e72b12abf9a688e Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Tue, 30 Mar 2021 16:18:36 +0800 Subject: [PATCH 2/5] Update azure-pipelines-v3.yml --- azure-pipelines-v3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-v3.yml b/azure-pipelines-v3.yml index 7d76df2e7fa..4eece71cc04 100644 --- a/azure-pipelines-v3.yml +++ b/azure-pipelines-v3.yml @@ -151,7 +151,7 @@ jobs: - script: dotnet tool update -g dotnet-trace displayName: Install dotnet-trace - - bash: curl https://raw.githubusercontent.com/Azure/azure-cli/fix-managed_by_tenants/src/azure-cli-core/azure/cli/core/_profile.py --output "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\core\_profile.py" + - script: Invoke-WebRequest -Uri https://raw.githubusercontent.com/Azure/azure-cli/fix-managed_by_tenants/src/azure-cli-core/azure/cli/core/_profile.py -OutFile "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\core\_profile.py" # Run Regression Tests - task: AzureCLI@2 From 7b67a1feaf08fa25e63e5026cec1a1f1e7ccf0a1 Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Tue, 30 Mar 2021 16:32:09 +0800 Subject: [PATCH 3/5] Update azure-pipelines-v3.yml --- azure-pipelines-v3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-v3.yml b/azure-pipelines-v3.yml index 4eece71cc04..41a74c7aa09 100644 --- a/azure-pipelines-v3.yml +++ b/azure-pipelines-v3.yml @@ -151,7 +151,7 @@ jobs: - script: dotnet tool update -g dotnet-trace displayName: Install dotnet-trace - - script: Invoke-WebRequest -Uri https://raw.githubusercontent.com/Azure/azure-cli/fix-managed_by_tenants/src/azure-cli-core/azure/cli/core/_profile.py -OutFile "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\core\_profile.py" + - powershell: Invoke-WebRequest -Uri https://raw.githubusercontent.com/Azure/azure-cli/fix-managed_by_tenants/src/azure-cli-core/azure/cli/core/_profile.py -OutFile "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\core\_profile.py" # Run Regression Tests - task: AzureCLI@2 From 035a6f63b6349c08966808b9cbb58f78114d6023 Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Tue, 30 Mar 2021 16:43:48 +0800 Subject: [PATCH 4/5] Update azure-pipelines-v3.yml --- azure-pipelines-v3.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/azure-pipelines-v3.yml b/azure-pipelines-v3.yml index 41a74c7aa09..f91f455468f 100644 --- a/azure-pipelines-v3.yml +++ b/azure-pipelines-v3.yml @@ -98,7 +98,7 @@ jobs: params: https://github.com/MicrosoftDocs/microsoft-365-docs-pr.zh-CN --branch live-sxs --profile --timeout 25 powerbi-docs-pr.de-DE: params: https://github.com/MicrosoftDocs/powerbi-docs-pr.de-DE --branch live-sxs --timeout 25 - PowerShell-Docs: + :-Docs: params: https://github.com/MicrosoftDocs/PowerShell-Docs --timeout 75 --branch staging roslyn-api-docs: params: https://github.com/dotnet/roslyn-api-docs --branch live --profile --timeout 105 @@ -151,7 +151,9 @@ jobs: - script: dotnet tool update -g dotnet-trace displayName: Install dotnet-trace - - powershell: Invoke-WebRequest -Uri https://raw.githubusercontent.com/Azure/azure-cli/fix-managed_by_tenants/src/azure-cli-core/azure/cli/core/_profile.py -OutFile "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\core\_profile.py" + - powershell: | + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 + Invoke-WebRequest -Uri https://raw.githubusercontent.com/Azure/azure-cli/fix-managed_by_tenants/src/azure-cli-core/azure/cli/core/_profile.py -OutFile "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\core\_profile.py" # Run Regression Tests - task: AzureCLI@2 From 1e1189e8f4bd01950001487749698e2b03ec72f7 Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Tue, 30 Mar 2021 16:52:23 +0800 Subject: [PATCH 5/5] Update azure-pipelines-v3.yml --- azure-pipelines-v3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-v3.yml b/azure-pipelines-v3.yml index f91f455468f..947f995b379 100644 --- a/azure-pipelines-v3.yml +++ b/azure-pipelines-v3.yml @@ -98,7 +98,7 @@ jobs: params: https://github.com/MicrosoftDocs/microsoft-365-docs-pr.zh-CN --branch live-sxs --profile --timeout 25 powerbi-docs-pr.de-DE: params: https://github.com/MicrosoftDocs/powerbi-docs-pr.de-DE --branch live-sxs --timeout 25 - :-Docs: + PowerShell-Docs: params: https://github.com/MicrosoftDocs/PowerShell-Docs --timeout 75 --branch staging roslyn-api-docs: params: https://github.com/dotnet/roslyn-api-docs --branch live --profile --timeout 105