Browse Source

Enable post-build signing (#28084)

* Enable post-build signing
Enables post build signing. This repo will discontinue signing in-build and instead the entire product will sign all at once in the staging pipelines.

* Disable musl codesign with PBSign
Matt Mitchell 5 years ago
parent
commit
58a7eb63ad
1 changed files with 6 additions and 4 deletions
  1. 6 4
      .azure/pipelines/ci.yml

+ 6 - 4
.azure/pipelines/ci.yml

@@ -55,7 +55,7 @@ variables:
 - name: _DotNetValidationArtifactsCategory
   value: .NETCORE
 - name: PostBuildSign
-  value: false
+  value: true
 - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
   - name: _BuildArgs
     value: /p:TeamName=$(_TeamName)
@@ -611,9 +611,11 @@ stages:
         includeForks: true
       - name: Linux_musl_arm_Packages
         path: artifacts/packages/
-  - template: jobs/codesign-xplat.yml
-    parameters:
-      inputName: Linux_musl_arm
+
+  - ${{ if ne(variables['PostBuildSign'], 'true') }}:
+    - template: jobs/codesign-xplat.yml
+      parameters:
+        inputName: Linux_musl_arm
 
   # Build Linux Musl ARM64
   - template: jobs/default-build.yml