Skip to content

Commit

Permalink
(build) Stop signing artifacts on some builds
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gep13 committed May 8, 2024
1 parent b7cde03 commit 348926d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down Expand Up @@ -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()
}
}
Expand Down

0 comments on commit 348926d

Please sign in to comment.