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 193b98a commit 0ec2e11
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 @@ -133,7 +133,7 @@ object ChocolateySchd : 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 @@ -203,7 +203,7 @@ object ChocolateyQA : 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 0ec2e11

Please sign in to comment.