From 348926d67ec7ee3f25fe10272f7ed7dbcb87920c Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Wed, 8 May 2024 07:59:43 -0700 Subject: [PATCH] (build) Stop signing artifacts on some builds Based on changes to how the Authenticode signing works (namely the need to use a hardware HSM, or a software as a service based solution), we need to look to prevent unnecessary signing of files happening. Signing of files is not required on the scheduled Integration Testing and SonarQube builds, so we are removing it from these builds. This is done using the command line options for: --shouldAuthenticodeSignMsis=false --shouldAuthenticodeSignOutputAssemblies=false --shouldAuthenticodeSignPowerShellScripts=false --- .teamcity/settings.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts index a9e80e98..88ca3ed9 100644 --- a/.teamcity/settings.kts +++ b/.teamcity/settings.kts @@ -129,7 +129,7 @@ object ChocolateyGUISchd : BuildType({ script { name = "Call Cake" scriptContent = """ - build.official.bat --verbosity=diagnostic --target=CI --testExecutionType=all --shouldRunOpenCover=false --shouldRunAnalyze=false --shouldRunIlMerge=false --shouldObfuscateOutputAssemblies=false --shouldRunChocolatey=false --shouldRunNuGet=false + build.official.bat --verbosity=diagnostic --target=CI --testExecutionType=all --shouldRunOpenCover=false --shouldRunAnalyze=false --shouldRunIlMerge=false --shouldObfuscateOutputAssemblies=false --shouldRunChocolatey=false --shouldRunNuGet=false --shouldAuthenticodeSignMsis=false --shouldAuthenticodeSignOutputAssemblies=false --shouldAuthenticodeSignPowerShellScripts=false """.trimIndent() } } @@ -197,7 +197,7 @@ object ChocolateyGUIQA : BuildType({ script { name = "Call Cake" scriptContent = """ - build.official.bat --verbosity=diagnostic --target=CI --testExecutionType=none --shouldRunAnalyze=false --shouldRunIlMerge=false --shouldObfuscateOutputAssemblies=false --shouldRunChocolatey=false --shouldRunNuGet=false --shouldRunSonarQube=true --shouldRunDependencyCheck=true + build.official.bat --verbosity=diagnostic --target=CI --testExecutionType=none --shouldRunAnalyze=false --shouldRunIlMerge=false --shouldObfuscateOutputAssemblies=false --shouldRunChocolatey=false --shouldRunNuGet=false --shouldRunSonarQube=true --shouldRunDependencyCheck=true --shouldAuthenticodeSignMsis=false --shouldAuthenticodeSignOutputAssemblies=false --shouldAuthenticodeSignPowerShellScripts=false """.trimIndent() } }