From 55ea9f5baceb37366bf831ba9c5f43e64c34801a Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Wed, 24 Nov 2021 13:19:10 +0000 Subject: [PATCH 01/18] Update dependencies from https://github.com/dotnet/arcade build 20211123.3 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.21573.3 --- eng/Version.Details.xml | 20 ++++++++++---------- eng/Versions.props | 6 +++--- eng/common/build.sh | 4 ---- eng/common/native/init-compiler.sh | 2 +- eng/common/sdk-task.ps1 | 3 --- eng/common/templates/job/job.yml | 1 + eng/common/tools.ps1 | 21 --------------------- eng/common/tools.sh | 7 ------- global.json | 8 ++++---- 9 files changed, 19 insertions(+), 53 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 57877966c54..f06cdbaf655 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -75,25 +75,25 @@ - + https://github.com/dotnet/arcade - 97463777ee9a8445d4a4c5911ede0f0cd71fa8aa + 927f8d4d5036f68a5fc6d042f336bc9458027208 - + https://github.com/dotnet/arcade - 97463777ee9a8445d4a4c5911ede0f0cd71fa8aa + 927f8d4d5036f68a5fc6d042f336bc9458027208 - + https://github.com/dotnet/arcade - 97463777ee9a8445d4a4c5911ede0f0cd71fa8aa + 927f8d4d5036f68a5fc6d042f336bc9458027208 - + https://github.com/dotnet/arcade - 97463777ee9a8445d4a4c5911ede0f0cd71fa8aa + 927f8d4d5036f68a5fc6d042f336bc9458027208 - + https://github.com/dotnet/arcade - 97463777ee9a8445d4a4c5911ede0f0cd71fa8aa + 927f8d4d5036f68a5fc6d042f336bc9458027208 diff --git a/eng/Versions.props b/eng/Versions.props index 44fd1a51a76..b1a757267a3 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,9 +37,9 @@ - 7.0.0-beta.21569.2 - 7.0.0-beta.21569.2 - 7.0.0-beta.21569.2 + 7.0.0-beta.21573.3 + 7.0.0-beta.21573.3 + 7.0.0-beta.21573.3 diff --git a/eng/common/build.sh b/eng/common/build.sh index bc07a1c6848..55b298f16cc 100755 --- a/eng/common/build.sh +++ b/eng/common/build.sh @@ -187,10 +187,6 @@ function InitializeCustomToolset { } function Build { - - if [[ "$ci" == true ]]; then - TryLogClientIpAddress - fi InitializeToolset InitializeCustomToolset diff --git a/eng/common/native/init-compiler.sh b/eng/common/native/init-compiler.sh index 8c944f30b28..03a996062a7 100644 --- a/eng/common/native/init-compiler.sh +++ b/eng/common/native/init-compiler.sh @@ -112,7 +112,7 @@ if [[ -z "$CC" ]]; then fi if [[ "$compiler" == "clang" ]]; then - if command -v "lld$desired_version" > /dev/null; then + if "$CC" -fuse-ld=lld -Wl,--version 2>&1; then # Only lld version >= 9 can be considered stable if [[ "$majorVersion" -ge 9 ]]; then LDFLAGS="-fuse-ld=lld" diff --git a/eng/common/sdk-task.ps1 b/eng/common/sdk-task.ps1 index 7ab9baac5c8..b1bca63ab1d 100644 --- a/eng/common/sdk-task.ps1 +++ b/eng/common/sdk-task.ps1 @@ -83,9 +83,6 @@ try { } if ($restore) { - if ($ci) { - Try-LogClientIpAddress - } Build 'Restore' } diff --git a/eng/common/templates/job/job.yml b/eng/common/templates/job/job.yml index 37dceb1bab0..7678b94ce74 100644 --- a/eng/common/templates/job/job.yml +++ b/eng/common/templates/job/job.yml @@ -114,6 +114,7 @@ jobs: continueOnError: ${{ parameters.continueOnError }} condition: and(succeeded(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT')) + - ${{ if and(eq(parameters.runAsPublic, 'false'), eq(variables['System.TeamProject'], 'internal')) }}: - task: NuGetAuthenticate@0 - ${{ if or(eq(parameters.artifacts.download, 'true'), ne(parameters.artifacts.download, '')) }}: diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 90b1f9fdcdb..f1e1cb53953 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -163,9 +163,6 @@ function InitializeDotNetCli([bool]$install, [bool]$createSdkLocationFile) { # Disable telemetry on CI. if ($ci) { $env:DOTNET_CLI_TELEMETRY_OPTOUT=1 - - # In case of network error, try to log the current IP for reference - Try-LogClientIpAddress } # Source Build uses DotNetCoreSdkDir variable @@ -895,24 +892,6 @@ if (!$disableConfigureToolsetImport) { } } -function Try-LogClientIpAddress() -{ - Write-Host "Attempting to log this client's IP for Azure Package feed telemetry purposes" - try - { - $result = Invoke-WebRequest -Uri "http://co1r5a.msedge.net/fdv2/diagnostics.aspx" -UseBasicParsing - $lines = $result.Content.Split([Environment]::NewLine) - $socketIp = $lines | Select-String -Pattern "^Socket IP:.*" - Write-Host $socketIp - $clientIp = $lines | Select-String -Pattern "^Client IP:.*" - Write-Host $clientIp - } - catch - { - Write-Host "Unable to get this machine's effective IP address for logging: $_" - } -} - # # If $ci flag is set, turn on (and log that we did) special environment variables for improved Nuget client retry logic. # diff --git a/eng/common/tools.sh b/eng/common/tools.sh index dd7030ff538..e555c34269f 100755 --- a/eng/common/tools.sh +++ b/eng/common/tools.sh @@ -405,13 +405,6 @@ function StopProcesses { return 0 } -function TryLogClientIpAddress () { - echo 'Attempting to log this client''s IP for Azure Package feed telemetry purposes' - if command -v curl > /dev/null; then - curl -s 'http://co1r5a.msedge.net/fdv2/diagnostics.aspx' | grep ' IP: ' || true - fi -} - function MSBuild { local args=$@ if [[ "$pipelines_log" == true ]]; then diff --git a/global.json b/global.json index 5c90919eb6a..2e42640c57d 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "tools": { - "dotnet": "6.0.100-rc.1.21430.12", + "dotnet": "6.0.100", "runtimes": { "dotnet": [ "2.1.7", @@ -12,11 +12,11 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21569.2", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21569.2" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21573.3", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21573.3" }, "sdk": { - "version": "6.0.100-rc.1.21430.12" + "version": "6.0.100" }, "native-tools": { "strawberry-perl": "5.28.1.1-1", From 578e79d64620c14d7a39691e3b006ade8ddbcbac Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Thu, 25 Nov 2021 13:17:41 +0000 Subject: [PATCH 02/18] Update dependencies from https://github.com/dotnet/arcade build 20211124.3 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.21574.3 --- eng/Version.Details.xml | 20 ++++++++++---------- eng/Versions.props | 6 +++--- global.json | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index f06cdbaf655..e0f230c0b67 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -75,25 +75,25 @@ - + https://github.com/dotnet/arcade - 927f8d4d5036f68a5fc6d042f336bc9458027208 + 11fb2931671a47924e29b92e5fe06043fb3c6bbb - + https://github.com/dotnet/arcade - 927f8d4d5036f68a5fc6d042f336bc9458027208 + 11fb2931671a47924e29b92e5fe06043fb3c6bbb - + https://github.com/dotnet/arcade - 927f8d4d5036f68a5fc6d042f336bc9458027208 + 11fb2931671a47924e29b92e5fe06043fb3c6bbb - + https://github.com/dotnet/arcade - 927f8d4d5036f68a5fc6d042f336bc9458027208 + 11fb2931671a47924e29b92e5fe06043fb3c6bbb - + https://github.com/dotnet/arcade - 927f8d4d5036f68a5fc6d042f336bc9458027208 + 11fb2931671a47924e29b92e5fe06043fb3c6bbb diff --git a/eng/Versions.props b/eng/Versions.props index b1a757267a3..7f82f6bd9e9 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,9 +37,9 @@ - 7.0.0-beta.21573.3 - 7.0.0-beta.21573.3 - 7.0.0-beta.21573.3 + 7.0.0-beta.21574.3 + 7.0.0-beta.21574.3 + 7.0.0-beta.21574.3 diff --git a/global.json b/global.json index 2e42640c57d..d7551d6f409 100644 --- a/global.json +++ b/global.json @@ -12,8 +12,8 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21573.3", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21573.3" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21574.3", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21574.3" }, "sdk": { "version": "6.0.100" From dcfcb201f74406de656ae1c920e896c54421b9e7 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Fri, 26 Nov 2021 13:18:40 +0000 Subject: [PATCH 03/18] Update dependencies from https://github.com/dotnet/arcade build 20211126.2 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.21576.2 --- eng/Version.Details.xml | 20 ++++++++++---------- eng/Versions.props | 6 +++--- eng/common/native/init-compiler.sh | 10 ++++------ global.json | 4 ++-- 4 files changed, 19 insertions(+), 21 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index e0f230c0b67..6f5256bdbab 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -75,25 +75,25 @@ - + https://github.com/dotnet/arcade - 11fb2931671a47924e29b92e5fe06043fb3c6bbb + 9c578f701e92c055ed752c3869a0f36c60630cea - + https://github.com/dotnet/arcade - 11fb2931671a47924e29b92e5fe06043fb3c6bbb + 9c578f701e92c055ed752c3869a0f36c60630cea - + https://github.com/dotnet/arcade - 11fb2931671a47924e29b92e5fe06043fb3c6bbb + 9c578f701e92c055ed752c3869a0f36c60630cea - + https://github.com/dotnet/arcade - 11fb2931671a47924e29b92e5fe06043fb3c6bbb + 9c578f701e92c055ed752c3869a0f36c60630cea - + https://github.com/dotnet/arcade - 11fb2931671a47924e29b92e5fe06043fb3c6bbb + 9c578f701e92c055ed752c3869a0f36c60630cea diff --git a/eng/Versions.props b/eng/Versions.props index 7f82f6bd9e9..64fffcba676 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,9 +37,9 @@ - 7.0.0-beta.21574.3 - 7.0.0-beta.21574.3 - 7.0.0-beta.21574.3 + 7.0.0-beta.21576.2 + 7.0.0-beta.21576.2 + 7.0.0-beta.21576.2 diff --git a/eng/common/native/init-compiler.sh b/eng/common/native/init-compiler.sh index 03a996062a7..fd1d080e204 100644 --- a/eng/common/native/init-compiler.sh +++ b/eng/common/native/init-compiler.sh @@ -111,12 +111,10 @@ if [[ -z "$CC" ]]; then exit 1 fi -if [[ "$compiler" == "clang" ]]; then - if "$CC" -fuse-ld=lld -Wl,--version 2>&1; then - # Only lld version >= 9 can be considered stable - if [[ "$majorVersion" -ge 9 ]]; then - LDFLAGS="-fuse-ld=lld" - fi +# Only lld version >= 9 can be considered stable +if [[ "$compiler" == "clang" && "$majorVersion" -ge 9 ]]; then + if "$CC" -fuse-ld=lld -Wl,--version 2>/dev/null; then + LDFLAGS="-fuse-ld=lld" fi fi diff --git a/global.json b/global.json index d7551d6f409..278894035d3 100644 --- a/global.json +++ b/global.json @@ -12,8 +12,8 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21574.3", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21574.3" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21576.2", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21576.2" }, "sdk": { "version": "6.0.100" From 4e606f76e407ad5eb9ef978b5c002aa5cf4abc59 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Sat, 27 Nov 2021 13:15:46 +0000 Subject: [PATCH 04/18] Update dependencies from https://github.com/dotnet/arcade build 20211126.4 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.21576.4 --- eng/Version.Details.xml | 20 ++++++++++---------- eng/Versions.props | 6 +++--- eng/common/native/init-compiler.sh | 3 ++- global.json | 4 ++-- 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 6f5256bdbab..1323135599e 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -75,25 +75,25 @@ - + https://github.com/dotnet/arcade - 9c578f701e92c055ed752c3869a0f36c60630cea + 427c05909067bb2e484116ae2239456bb45adb85 - + https://github.com/dotnet/arcade - 9c578f701e92c055ed752c3869a0f36c60630cea + 427c05909067bb2e484116ae2239456bb45adb85 - + https://github.com/dotnet/arcade - 9c578f701e92c055ed752c3869a0f36c60630cea + 427c05909067bb2e484116ae2239456bb45adb85 - + https://github.com/dotnet/arcade - 9c578f701e92c055ed752c3869a0f36c60630cea + 427c05909067bb2e484116ae2239456bb45adb85 - + https://github.com/dotnet/arcade - 9c578f701e92c055ed752c3869a0f36c60630cea + 427c05909067bb2e484116ae2239456bb45adb85 diff --git a/eng/Versions.props b/eng/Versions.props index 64fffcba676..0f5b91b1318 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,9 +37,9 @@ - 7.0.0-beta.21576.2 - 7.0.0-beta.21576.2 - 7.0.0-beta.21576.2 + 7.0.0-beta.21576.4 + 7.0.0-beta.21576.4 + 7.0.0-beta.21576.4 diff --git a/eng/common/native/init-compiler.sh b/eng/common/native/init-compiler.sh index fd1d080e204..e361e03fabd 100644 --- a/eng/common/native/init-compiler.sh +++ b/eng/common/native/init-compiler.sh @@ -2,6 +2,7 @@ # # This file detects the C/C++ compiler and exports it to the CC/CXX environment variables # +# NOTE: some scripts source this file and rely on stdout being empty, make sure to not output anything here! if [[ "$#" -lt 3 ]]; then echo "Usage..." @@ -113,7 +114,7 @@ fi # Only lld version >= 9 can be considered stable if [[ "$compiler" == "clang" && "$majorVersion" -ge 9 ]]; then - if "$CC" -fuse-ld=lld -Wl,--version 2>/dev/null; then + if "$CC" -fuse-ld=lld -Wl,--version >/dev/null 2>&1; then LDFLAGS="-fuse-ld=lld" fi fi diff --git a/global.json b/global.json index 278894035d3..d6c8bf3be58 100644 --- a/global.json +++ b/global.json @@ -12,8 +12,8 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21576.2", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21576.2" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21576.4", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21576.4" }, "sdk": { "version": "6.0.100" From 2206d6c446459e47a94eaf99f4ec617670f6852f Mon Sep 17 00:00:00 2001 From: Matt Galbraith Date: Mon, 29 Nov 2021 10:44:22 -0800 Subject: [PATCH 05/18] Update image used; it seems the GA 6.0.100 .NET Core SDK wants VS 2022 for WPF's purposes. --- azure-pipelines.yml | 2 +- eng/pipeline.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bd4f2bbaa48..5c5e6aa5c75 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -73,7 +73,7 @@ stages: # agent pool can't be read from a user-defined variable (Azure DevOps limitation) pool: name: NetCore1ESPool-Internal - demands: ImageOverride -equals build.windows.10.amd64.vs2019.pre + demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre # runAsPublic is used in expressions, which can't read from user-defined variables runAsPublic: false diff --git a/eng/pipeline.yml b/eng/pipeline.yml index 5c91fcadede..5f9762ebf9d 100644 --- a/eng/pipeline.yml +++ b/eng/pipeline.yml @@ -35,10 +35,10 @@ jobs: # agent pool can't be read from a user-defined variable (Azure DevOps limitation) ${{ if eq(variables['System.TeamProject'], 'public') }}: name: NetCore1ESPool-Public - demands: ImageOverride -equals Build.Windows.10.Amd64.VS2019.Pre.Open + demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre.Open ${{ if eq(variables['System.TeamProject'], 'internal') }}: name: NetCore1ESPool-Internal - demands: ImageOverride -equals build.windows.10.amd64.vs2019.pre + demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre variables: # needed for signing - name: _TeamName From 266cd39779e3f336854453b37fffae8f9be5f037 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Singh Date: Fri, 3 Dec 2021 08:44:48 +0530 Subject: [PATCH 06/18] Temporarily change to Int pools for verification --- eng/pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipeline.yml b/eng/pipeline.yml index 5f9762ebf9d..2b312a47322 100644 --- a/eng/pipeline.yml +++ b/eng/pipeline.yml @@ -34,10 +34,10 @@ jobs: # Will eventually change this to two BYOC pools. # agent pool can't be read from a user-defined variable (Azure DevOps limitation) ${{ if eq(variables['System.TeamProject'], 'public') }}: - name: NetCore1ESPool-Public + name: NetCore1ESPool-Public-Int demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre.Open ${{ if eq(variables['System.TeamProject'], 'internal') }}: - name: NetCore1ESPool-Internal + name: NetCore1ESPool-Internal-Int demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre variables: # needed for signing From 266405454fb14bca7889cdd9f086c7c68e6922e4 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Singh Date: Fri, 3 Dec 2021 09:11:20 +0530 Subject: [PATCH 07/18] Revert "Temporarily change to Int pools for verification" This reverts commit 266cd39779e3f336854453b37fffae8f9be5f037. --- eng/pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipeline.yml b/eng/pipeline.yml index 2b312a47322..5f9762ebf9d 100644 --- a/eng/pipeline.yml +++ b/eng/pipeline.yml @@ -34,10 +34,10 @@ jobs: # Will eventually change this to two BYOC pools. # agent pool can't be read from a user-defined variable (Azure DevOps limitation) ${{ if eq(variables['System.TeamProject'], 'public') }}: - name: NetCore1ESPool-Public-Int + name: NetCore1ESPool-Public demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre.Open ${{ if eq(variables['System.TeamProject'], 'internal') }}: - name: NetCore1ESPool-Internal-Int + name: NetCore1ESPool-Internal demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre variables: # needed for signing From 39af8c0f9f1ae106b53772bff02ed4d0f6b014aa Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Fri, 3 Dec 2021 13:18:48 +0000 Subject: [PATCH 08/18] Update dependencies from https://github.com/dotnet/arcade build 20211202.3 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.21602.3 --- eng/Version.Details.xml | 20 ++++++++++---------- eng/Versions.props | 6 +++--- eng/common/sdl/packages.config | 2 +- eng/common/templates/job/execute-sdl.yml | 2 +- eng/common/tools.sh | 2 +- global.json | 4 ++-- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 1323135599e..a289630465b 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -75,25 +75,25 @@ - + https://github.com/dotnet/arcade - 427c05909067bb2e484116ae2239456bb45adb85 + 59775387deb609d7c62f9e713d133c34ba28ffcd - + https://github.com/dotnet/arcade - 427c05909067bb2e484116ae2239456bb45adb85 + 59775387deb609d7c62f9e713d133c34ba28ffcd - + https://github.com/dotnet/arcade - 427c05909067bb2e484116ae2239456bb45adb85 + 59775387deb609d7c62f9e713d133c34ba28ffcd - + https://github.com/dotnet/arcade - 427c05909067bb2e484116ae2239456bb45adb85 + 59775387deb609d7c62f9e713d133c34ba28ffcd - + https://github.com/dotnet/arcade - 427c05909067bb2e484116ae2239456bb45adb85 + 59775387deb609d7c62f9e713d133c34ba28ffcd diff --git a/eng/Versions.props b/eng/Versions.props index 0f5b91b1318..a1c89b82aad 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,9 +37,9 @@ - 7.0.0-beta.21576.4 - 7.0.0-beta.21576.4 - 7.0.0-beta.21576.4 + 7.0.0-beta.21602.3 + 7.0.0-beta.21602.3 + 7.0.0-beta.21602.3 diff --git a/eng/common/sdl/packages.config b/eng/common/sdl/packages.config index 3bd8b29ebd7..4585cfd6bba 100644 --- a/eng/common/sdl/packages.config +++ b/eng/common/sdl/packages.config @@ -1,4 +1,4 @@ - + diff --git a/eng/common/templates/job/execute-sdl.yml b/eng/common/templates/job/execute-sdl.yml index 3aafc82e417..8128f2c3570 100644 --- a/eng/common/templates/job/execute-sdl.yml +++ b/eng/common/templates/job/execute-sdl.yml @@ -54,7 +54,7 @@ jobs: # The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in # sync with the packages.config file. - name: DefaultGuardianVersion - value: 0.53.3 + value: 0.109.0 - name: GuardianVersion value: ${{ coalesce(parameters.overrideGuardianVersion, '$(DefaultGuardianVersion)') }} - name: GuardianPackagesConfigFile diff --git a/eng/common/tools.sh b/eng/common/tools.sh index e555c34269f..17f0a365805 100755 --- a/eng/common/tools.sh +++ b/eng/common/tools.sh @@ -178,7 +178,7 @@ function InstallDotNetSdk { if [[ $# -ge 3 ]]; then architecture=$3 fi - InstallDotNet "$root" "$version" $architecture 'sdk' 'false' $runtime_source_feed $runtime_source_feed_key + InstallDotNet "$root" "$version" $architecture 'sdk' 'true' $runtime_source_feed $runtime_source_feed_key } function InstallDotNet { diff --git a/global.json b/global.json index d6c8bf3be58..d1c8c003a17 100644 --- a/global.json +++ b/global.json @@ -12,8 +12,8 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21576.4", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21576.4" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21602.3", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21602.3" }, "sdk": { "version": "6.0.100" From fb2b3e7b19c60fccba659655e00fe1587fbb8792 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Sat, 4 Dec 2021 13:19:02 +0000 Subject: [PATCH 09/18] Update dependencies from https://github.com/dotnet/arcade build 20211203.6 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.21603.6 --- eng/Version.Details.xml | 20 ++++++++++---------- eng/Versions.props | 6 +++--- global.json | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index a289630465b..769c71bbba7 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -75,25 +75,25 @@ - + https://github.com/dotnet/arcade - 59775387deb609d7c62f9e713d133c34ba28ffcd + b3e949192067c8acdaaae35015534f76e92d79d4 - + https://github.com/dotnet/arcade - 59775387deb609d7c62f9e713d133c34ba28ffcd + b3e949192067c8acdaaae35015534f76e92d79d4 - + https://github.com/dotnet/arcade - 59775387deb609d7c62f9e713d133c34ba28ffcd + b3e949192067c8acdaaae35015534f76e92d79d4 - + https://github.com/dotnet/arcade - 59775387deb609d7c62f9e713d133c34ba28ffcd + b3e949192067c8acdaaae35015534f76e92d79d4 - + https://github.com/dotnet/arcade - 59775387deb609d7c62f9e713d133c34ba28ffcd + b3e949192067c8acdaaae35015534f76e92d79d4 diff --git a/eng/Versions.props b/eng/Versions.props index a1c89b82aad..1eff01ae78e 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,9 +37,9 @@ - 7.0.0-beta.21602.3 - 7.0.0-beta.21602.3 - 7.0.0-beta.21602.3 + 7.0.0-beta.21603.6 + 7.0.0-beta.21603.6 + 7.0.0-beta.21603.6 diff --git a/global.json b/global.json index d1c8c003a17..fd3cdf60e13 100644 --- a/global.json +++ b/global.json @@ -12,8 +12,8 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21602.3", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21602.3" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21603.6", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21603.6" }, "sdk": { "version": "6.0.100" From 7ac6d55848cc3b7e6820ac5a77da982b9e5b9a7d Mon Sep 17 00:00:00 2001 From: Ashish Kumar Singh Date: Sat, 4 Dec 2021 22:41:31 +0530 Subject: [PATCH 10/18] Change platform Toolset to 143 --- eng/WpfArcadeSdk/tools/Wpf.Cpp.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/WpfArcadeSdk/tools/Wpf.Cpp.props b/eng/WpfArcadeSdk/tools/Wpf.Cpp.props index 1db2f681448..4088a444ffa 100644 --- a/eng/WpfArcadeSdk/tools/Wpf.Cpp.props +++ b/eng/WpfArcadeSdk/tools/Wpf.Cpp.props @@ -4,7 +4,7 @@ Unicode - v142 + v143 10.0.19041.0 From d28bc449ad85dfb8285a4b86ced6e35b7edc1565 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Singh Date: Mon, 6 Dec 2021 08:11:06 +0530 Subject: [PATCH 11/18] Update VCRuntime VC version --- src/Microsoft.DotNet.Wpf/redist/VCRuntime/VCRuntime.vcxproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.DotNet.Wpf/redist/VCRuntime/VCRuntime.vcxproj b/src/Microsoft.DotNet.Wpf/redist/VCRuntime/VCRuntime.vcxproj index d465def4d27..0a25fc5be59 100644 --- a/src/Microsoft.DotNet.Wpf/redist/VCRuntime/VCRuntime.vcxproj +++ b/src/Microsoft.DotNet.Wpf/redist/VCRuntime/VCRuntime.vcxproj @@ -33,8 +33,8 @@ - Microsoft.VC142.CRT - Microsoft.VC142.DebugCRT + Microsoft.VC143.CRT + Microsoft.VC143.DebugCRT @@ -71,4 +71,4 @@ Win32Proj - \ No newline at end of file + From ca9f2fe6dad7913ec53a89ffb0c4de9806e83116 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Singh Date: Mon, 6 Dec 2021 17:06:55 +0530 Subject: [PATCH 12/18] Temporarily change pool to internal --- eng/pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipeline.yml b/eng/pipeline.yml index 5f9762ebf9d..2b312a47322 100644 --- a/eng/pipeline.yml +++ b/eng/pipeline.yml @@ -34,10 +34,10 @@ jobs: # Will eventually change this to two BYOC pools. # agent pool can't be read from a user-defined variable (Azure DevOps limitation) ${{ if eq(variables['System.TeamProject'], 'public') }}: - name: NetCore1ESPool-Public + name: NetCore1ESPool-Public-Int demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre.Open ${{ if eq(variables['System.TeamProject'], 'internal') }}: - name: NetCore1ESPool-Internal + name: NetCore1ESPool-Internal-Int demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre variables: # needed for signing From 64f0a14edbff0c2922e89e3bb51ccdc1195bc88e Mon Sep 17 00:00:00 2001 From: Ashish Kumar Singh Date: Mon, 6 Dec 2021 19:14:52 +0530 Subject: [PATCH 13/18] Change toolsversion to 17 --- src/Microsoft.DotNet.Wpf/src/WpfGfx/core/dll/wpfgfx.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.DotNet.Wpf/src/WpfGfx/core/dll/wpfgfx.vcxproj b/src/Microsoft.DotNet.Wpf/src/WpfGfx/core/dll/wpfgfx.vcxproj index 56fcfb4089e..b762679b35a 100644 --- a/src/Microsoft.DotNet.Wpf/src/WpfGfx/core/dll/wpfgfx.vcxproj +++ b/src/Microsoft.DotNet.Wpf/src/WpfGfx/core/dll/wpfgfx.vcxproj @@ -1,5 +1,5 @@ - + Debug @@ -159,4 +159,4 @@ - \ No newline at end of file + From c32bf9a087a203614652dfa35c50985330166c03 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Singh Date: Tue, 7 Dec 2021 14:44:55 +0530 Subject: [PATCH 14/18] temporarily remove atl lib dependency --- src/Microsoft.DotNet.Wpf/src/PenImc/dll/PenImc.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.DotNet.Wpf/src/PenImc/dll/PenImc.vcxproj b/src/Microsoft.DotNet.Wpf/src/PenImc/dll/PenImc.vcxproj index 59b0e525543..fc38dfd12d5 100644 --- a/src/Microsoft.DotNet.Wpf/src/PenImc/dll/PenImc.vcxproj +++ b/src/Microsoft.DotNet.Wpf/src/PenImc/dll/PenImc.vcxproj @@ -71,7 +71,7 @@ Use - true + false _MERGE_PROXYSTUB;_USRDLL;%(PreprocessorDefinitions) %(AdditionalIncludeDirectories);$(WpfSourceDir)PenImc\inc\;$(IntermediateOutputPath) @@ -95,4 +95,4 @@ - \ No newline at end of file + From 87478eed283c4621aaabe7bc6f88e32ffb543aed Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Tue, 7 Dec 2021 13:22:11 +0000 Subject: [PATCH 15/18] Update dependencies from https://github.com/dotnet/arcade build 20211206.6 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.21606.6 --- eng/Version.Details.xml | 20 ++++++++++---------- eng/Versions.props | 6 +++--- global.json | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 769c71bbba7..90872e23613 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -75,25 +75,25 @@ - + https://github.com/dotnet/arcade - b3e949192067c8acdaaae35015534f76e92d79d4 + 5d969787afb2fd87f642458687e3ad41094ac3ab - + https://github.com/dotnet/arcade - b3e949192067c8acdaaae35015534f76e92d79d4 + 5d969787afb2fd87f642458687e3ad41094ac3ab - + https://github.com/dotnet/arcade - b3e949192067c8acdaaae35015534f76e92d79d4 + 5d969787afb2fd87f642458687e3ad41094ac3ab - + https://github.com/dotnet/arcade - b3e949192067c8acdaaae35015534f76e92d79d4 + 5d969787afb2fd87f642458687e3ad41094ac3ab - + https://github.com/dotnet/arcade - b3e949192067c8acdaaae35015534f76e92d79d4 + 5d969787afb2fd87f642458687e3ad41094ac3ab diff --git a/eng/Versions.props b/eng/Versions.props index 1eff01ae78e..9bf00a3f20a 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,9 +37,9 @@ - 7.0.0-beta.21603.6 - 7.0.0-beta.21603.6 - 7.0.0-beta.21603.6 + 7.0.0-beta.21606.6 + 7.0.0-beta.21606.6 + 7.0.0-beta.21606.6 diff --git a/global.json b/global.json index fd3cdf60e13..77198067f0d 100644 --- a/global.json +++ b/global.json @@ -12,8 +12,8 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21603.6", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21603.6" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21606.6", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21606.6" }, "sdk": { "version": "6.0.100" From 563562bec224eaa2a1d4473d47d527e711c24670 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Thu, 9 Dec 2021 13:26:49 +0000 Subject: [PATCH 16/18] Update dependencies from https://github.com/dotnet/arcade build 20211208.1 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.21608.1 --- eng/Version.Details.xml | 20 +++--- eng/Versions.props | 6 +- eng/common/cross/armv6/sources.list.buster | 2 + eng/common/cross/build-rootfs.sh | 17 ++++- eng/common/templates/job/execute-sdl.yml | 69 +++---------------- eng/common/templates/steps/execute-sdl.yml | 68 ++++++++++++++++++ .../templates/variables/sdl-variables.yml | 7 ++ global.json | 4 +- 8 files changed, 117 insertions(+), 76 deletions(-) create mode 100644 eng/common/cross/armv6/sources.list.buster create mode 100644 eng/common/templates/steps/execute-sdl.yml create mode 100644 eng/common/templates/variables/sdl-variables.yml diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 90872e23613..1dd0a53c063 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -75,25 +75,25 @@ - + https://github.com/dotnet/arcade - 5d969787afb2fd87f642458687e3ad41094ac3ab + 200adbc809c4451973d1929a53a75502b7cada01 - + https://github.com/dotnet/arcade - 5d969787afb2fd87f642458687e3ad41094ac3ab + 200adbc809c4451973d1929a53a75502b7cada01 - + https://github.com/dotnet/arcade - 5d969787afb2fd87f642458687e3ad41094ac3ab + 200adbc809c4451973d1929a53a75502b7cada01 - + https://github.com/dotnet/arcade - 5d969787afb2fd87f642458687e3ad41094ac3ab + 200adbc809c4451973d1929a53a75502b7cada01 - + https://github.com/dotnet/arcade - 5d969787afb2fd87f642458687e3ad41094ac3ab + 200adbc809c4451973d1929a53a75502b7cada01 diff --git a/eng/Versions.props b/eng/Versions.props index 9bf00a3f20a..d8a345474f5 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,9 +37,9 @@ - 7.0.0-beta.21606.6 - 7.0.0-beta.21606.6 - 7.0.0-beta.21606.6 + 7.0.0-beta.21608.1 + 7.0.0-beta.21608.1 + 7.0.0-beta.21608.1 diff --git a/eng/common/cross/armv6/sources.list.buster b/eng/common/cross/armv6/sources.list.buster new file mode 100644 index 00000000000..f27fc4fb346 --- /dev/null +++ b/eng/common/cross/armv6/sources.list.buster @@ -0,0 +1,2 @@ +deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi +deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi diff --git a/eng/common/cross/build-rootfs.sh b/eng/common/cross/build-rootfs.sh index 6fa2c8aa551..5102245b7b5 100755 --- a/eng/common/cross/build-rootfs.sh +++ b/eng/common/cross/build-rootfs.sh @@ -99,6 +99,15 @@ while :; do __AlpineArch=armv7 __QEMUArch=arm ;; + armv6) + __BuildArch=armv6 + __UbuntuArch=armhf + __QEMUArch=arm + __UbuntuRepo="http://raspbian.raspberrypi.org/raspbian/" + __CodeName=buster + __LLDB_Package="liblldb-6.0-dev" + __Keyring="/usr/share/keyrings/raspbian-archive-keyring.gpg" + ;; arm64) __BuildArch=arm64 __UbuntuArch=arm64 @@ -236,6 +245,12 @@ while :; do shift done +if [ -e "$__Keyring" ]; then + __Keyring="--keyring=$__Keyring" +else + __Keyring="" +fi + if [ "$__BuildArch" == "armel" ]; then __LLDB_Package="lldb-3.5-dev" fi @@ -337,7 +352,7 @@ elif [[ "$__CodeName" == "illumos" ]]; then wget -P "$__RootfsDir"/usr/include/netpacket https://raw.githubusercontent.com/illumos/illumos-gate/master/usr/src/uts/common/inet/sockmods/netpacket/packet.h wget -P "$__RootfsDir"/usr/include/sys https://raw.githubusercontent.com/illumos/illumos-gate/master/usr/src/uts/common/sys/sdt.h elif [[ -n $__CodeName ]]; then - qemu-debootstrap --arch $__UbuntuArch $__CodeName $__RootfsDir $__UbuntuRepo + qemu-debootstrap $__Keyring --arch $__UbuntuArch $__CodeName $__RootfsDir $__UbuntuRepo cp $__CrossDir/$__BuildArch/sources.list.$__CodeName $__RootfsDir/etc/apt/sources.list chroot $__RootfsDir apt-get update chroot $__RootfsDir apt-get -f -y install diff --git a/eng/common/templates/job/execute-sdl.yml b/eng/common/templates/job/execute-sdl.yml index 8128f2c3570..8cf772b3cbf 100644 --- a/eng/common/templates/job/execute-sdl.yml +++ b/eng/common/templates/job/execute-sdl.yml @@ -51,14 +51,9 @@ jobs: value: ${{ parameters.AzDOPipelineId }} - name: AzDOBuildId value: ${{ parameters.AzDOBuildId }} - # The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in - # sync with the packages.config file. - - name: DefaultGuardianVersion - value: 0.109.0 + - template: /eng/common/templates/variables/sdl-variables.yml - name: GuardianVersion value: ${{ coalesce(parameters.overrideGuardianVersion, '$(DefaultGuardianVersion)') }} - - name: GuardianPackagesConfigFile - value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config pool: vmImage: windows-2019 steps: @@ -125,57 +120,11 @@ jobs: displayName: Extract Archive Artifacts continueOnError: ${{ parameters.sdlContinueOnError }} - - ${{ if ne(parameters.overrideGuardianVersion, '') }}: - - powershell: | - $content = Get-Content $(GuardianPackagesConfigFile) - - Write-Host "packages.config content was:`n$content" - - $content = $content.Replace('$(DefaultGuardianVersion)', '$(GuardianVersion)') - $content | Set-Content $(GuardianPackagesConfigFile) - - Write-Host "packages.config content updated to:`n$content" - displayName: Use overridden Guardian version ${{ parameters.overrideGuardianVersion }} - - - task: NuGetToolInstaller@1 - displayName: 'Install NuGet.exe' - - task: NuGetCommand@2 - displayName: 'Install Guardian' - inputs: - restoreSolution: $(Build.SourcesDirectory)\eng\common\sdl\packages.config - feedsToUse: config - nugetConfigPath: $(Build.SourcesDirectory)\eng\common\sdl\NuGet.config - externalFeedCredentials: GuardianConnect - restoreDirectory: $(Build.SourcesDirectory)\.packages - - - ${{ if ne(parameters.overrideParameters, '') }}: - - powershell: ${{ parameters.executeAllSdlToolsScript }} ${{ parameters.overrideParameters }} - displayName: Execute SDL - continueOnError: ${{ parameters.sdlContinueOnError }} - - ${{ if eq(parameters.overrideParameters, '') }}: - - powershell: ${{ parameters.executeAllSdlToolsScript }} - -GuardianPackageName Microsoft.Guardian.Cli.$(GuardianVersion) - -NugetPackageDirectory $(Build.SourcesDirectory)\.packages - -AzureDevOpsAccessToken $(dn-bot-dotnet-build-rw-code-rw) - ${{ parameters.additionalParameters }} - displayName: Execute SDL - continueOnError: ${{ parameters.sdlContinueOnError }} - - - ${{ if ne(parameters.publishGuardianDirectoryToPipeline, 'false') }}: - # We want to publish the Guardian results and configuration for easy diagnosis. However, the - # '.gdn' dir is a mix of configuration, results, extracted dependencies, and Guardian default - # tooling files. Some of these files are large and aren't useful during an investigation, so - # exclude them by simply deleting them before publishing. (As of writing, there is no documented - # way to selectively exclude a dir from the pipeline artifact publish task.) - - task: DeleteFiles@1 - displayName: Delete Guardian dependencies to avoid uploading - inputs: - SourceFolder: $(Agent.BuildDirectory)/.gdn - Contents: | - c - i - condition: succeededOrFailed() - - publish: $(Agent.BuildDirectory)/.gdn - artifact: GuardianConfiguration - displayName: Publish GuardianConfiguration - condition: succeededOrFailed() + - template: /eng/common/templates/steps/execute-sdl.yml + parameters: + overrideGuardianVersion: ${{ parameters.overrideGuardianVersion }} + executeAllSdlToolsScript: ${{ parameters.executeAllSdlToolsScript }} + overrideParameters: ${{ parameters.overrideParameters }} + additionalParameters: ${{ parameters.additionalParameters }} + publishGuardianDirectoryToPipeline: ${{ parameters.publishGuardianDirectoryToPipeline }} + sdlContinueOnError: ${{ parameters.sdlContinueOnError }} diff --git a/eng/common/templates/steps/execute-sdl.yml b/eng/common/templates/steps/execute-sdl.yml new file mode 100644 index 00000000000..7b8ee18a28d --- /dev/null +++ b/eng/common/templates/steps/execute-sdl.yml @@ -0,0 +1,68 @@ +parameters: + overrideGuardianVersion: '' + executeAllSdlToolsScript: '' + overrideParameters: '' + additionalParameters: '' + publishGuardianDirectoryToPipeline: false + sdlContinueOnError: false + condition: '' + +steps: +- ${{ if ne(parameters.overrideGuardianVersion, '') }}: + - powershell: | + $content = Get-Content $(GuardianPackagesConfigFile) + + Write-Host "packages.config content was:`n$content" + + $content = $content.Replace('$(DefaultGuardianVersion)', '$(GuardianVersion)') + $content | Set-Content $(GuardianPackagesConfigFile) + + Write-Host "packages.config content updated to:`n$content" + displayName: Use overridden Guardian version ${{ parameters.overrideGuardianVersion }} + +- task: NuGetToolInstaller@1 + displayName: 'Install NuGet.exe' + +- task: NuGetCommand@2 + displayName: 'Install Guardian' + inputs: + restoreSolution: $(Build.SourcesDirectory)\eng\common\sdl\packages.config + feedsToUse: config + nugetConfigPath: $(Build.SourcesDirectory)\eng\common\sdl\NuGet.config + externalFeedCredentials: GuardianConnect + restoreDirectory: $(Build.SourcesDirectory)\.packages + +- ${{ if ne(parameters.overrideParameters, '') }}: + - powershell: ${{ parameters.executeAllSdlToolsScript }} ${{ parameters.overrideParameters }} + displayName: Execute SDL + continueOnError: ${{ parameters.sdlContinueOnError }} + condition: ${{ parameters.condition }} + +- ${{ if eq(parameters.overrideParameters, '') }}: + - powershell: ${{ parameters.executeAllSdlToolsScript }} + -GuardianPackageName Microsoft.Guardian.Cli.$(GuardianVersion) + -NugetPackageDirectory $(Build.SourcesDirectory)\.packages + -AzureDevOpsAccessToken $(dn-bot-dotnet-build-rw-code-rw) + ${{ parameters.additionalParameters }} + displayName: Execute SDL + continueOnError: ${{ parameters.sdlContinueOnError }} + condition: ${{ parameters.condition }} + +- ${{ if ne(parameters.publishGuardianDirectoryToPipeline, 'false') }}: + # We want to publish the Guardian results and configuration for easy diagnosis. However, the + # '.gdn' dir is a mix of configuration, results, extracted dependencies, and Guardian default + # tooling files. Some of these files are large and aren't useful during an investigation, so + # exclude them by simply deleting them before publishing. (As of writing, there is no documented + # way to selectively exclude a dir from the pipeline artifact publish task.) + - task: DeleteFiles@1 + displayName: Delete Guardian dependencies to avoid uploading + inputs: + SourceFolder: $(Agent.BuildDirectory)/.gdn + Contents: | + c + i + condition: succeededOrFailed() + - publish: $(Agent.BuildDirectory)/.gdn + artifact: GuardianConfiguration + displayName: Publish GuardianConfiguration + condition: succeededOrFailed() \ No newline at end of file diff --git a/eng/common/templates/variables/sdl-variables.yml b/eng/common/templates/variables/sdl-variables.yml new file mode 100644 index 00000000000..dbdd66d4a4b --- /dev/null +++ b/eng/common/templates/variables/sdl-variables.yml @@ -0,0 +1,7 @@ +variables: +# The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in +# sync with the packages.config file. +- name: DefaultGuardianVersion + value: 0.109.0 +- name: GuardianPackagesConfigFile + value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config \ No newline at end of file diff --git a/global.json b/global.json index 77198067f0d..435db3d2507 100644 --- a/global.json +++ b/global.json @@ -12,8 +12,8 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21606.6", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21606.6" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21608.1", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21608.1" }, "sdk": { "version": "6.0.100" From 7c7f5548b08fe420df87679a3aeeb12e36443e15 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Fri, 10 Dec 2021 13:19:57 +0000 Subject: [PATCH 17/18] Update dependencies from https://github.com/dotnet/arcade build 20211209.2 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.21609.2 --- eng/Version.Details.xml | 20 ++++++++++---------- eng/Versions.props | 6 +++--- global.json | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 1dd0a53c063..b8de26e9a6e 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -75,25 +75,25 @@ - + https://github.com/dotnet/arcade - 200adbc809c4451973d1929a53a75502b7cada01 + 05a63c6bae31f97583d35f5a16e1bd8f41a1d094 - + https://github.com/dotnet/arcade - 200adbc809c4451973d1929a53a75502b7cada01 + 05a63c6bae31f97583d35f5a16e1bd8f41a1d094 - + https://github.com/dotnet/arcade - 200adbc809c4451973d1929a53a75502b7cada01 + 05a63c6bae31f97583d35f5a16e1bd8f41a1d094 - + https://github.com/dotnet/arcade - 200adbc809c4451973d1929a53a75502b7cada01 + 05a63c6bae31f97583d35f5a16e1bd8f41a1d094 - + https://github.com/dotnet/arcade - 200adbc809c4451973d1929a53a75502b7cada01 + 05a63c6bae31f97583d35f5a16e1bd8f41a1d094 diff --git a/eng/Versions.props b/eng/Versions.props index d8a345474f5..59346f3a733 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,9 +37,9 @@ - 7.0.0-beta.21608.1 - 7.0.0-beta.21608.1 - 7.0.0-beta.21608.1 + 7.0.0-beta.21609.2 + 7.0.0-beta.21609.2 + 7.0.0-beta.21609.2 diff --git a/global.json b/global.json index 435db3d2507..91d3e46900c 100644 --- a/global.json +++ b/global.json @@ -12,8 +12,8 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21608.1", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21608.1" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21609.2", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21609.2" }, "sdk": { "version": "6.0.100" From d426c119ec3aa4e40d9bbac18e6738a1318ce6b1 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Sat, 11 Dec 2021 13:18:39 +0000 Subject: [PATCH 18/18] Update dependencies from https://github.com/dotnet/arcade build 20211210.4 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.21610.4 --- eng/Version.Details.xml | 20 ++++++++++---------- eng/Versions.props | 6 +++--- global.json | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index b8de26e9a6e..e9199387e5c 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -75,25 +75,25 @@ - + https://github.com/dotnet/arcade - 05a63c6bae31f97583d35f5a16e1bd8f41a1d094 + 18adc5b47acce8bb03948baf578fca442d1029d4 - + https://github.com/dotnet/arcade - 05a63c6bae31f97583d35f5a16e1bd8f41a1d094 + 18adc5b47acce8bb03948baf578fca442d1029d4 - + https://github.com/dotnet/arcade - 05a63c6bae31f97583d35f5a16e1bd8f41a1d094 + 18adc5b47acce8bb03948baf578fca442d1029d4 - + https://github.com/dotnet/arcade - 05a63c6bae31f97583d35f5a16e1bd8f41a1d094 + 18adc5b47acce8bb03948baf578fca442d1029d4 - + https://github.com/dotnet/arcade - 05a63c6bae31f97583d35f5a16e1bd8f41a1d094 + 18adc5b47acce8bb03948baf578fca442d1029d4 diff --git a/eng/Versions.props b/eng/Versions.props index 59346f3a733..b51919cf2a6 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -37,9 +37,9 @@ - 7.0.0-beta.21609.2 - 7.0.0-beta.21609.2 - 7.0.0-beta.21609.2 + 7.0.0-beta.21610.4 + 7.0.0-beta.21610.4 + 7.0.0-beta.21610.4 diff --git a/global.json b/global.json index 91d3e46900c..ffce544043c 100644 --- a/global.json +++ b/global.json @@ -12,8 +12,8 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21609.2", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21609.2" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21610.4", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21610.4" }, "sdk": { "version": "6.0.100"