Skip to content

Commit 1e3346e

Browse files
authored
Disable SBOM in Non-Production ADO Pipelines (#14775)
## Description This removes the creation of SBOM manifests in our CI/PR pipelines, as it is no longer possible to create them unsigned. ### Type of Change - Bug fix (non-breaking change which fixes an issue) ### Why Our non-production ADO pipelines (CI/PR) do not need to create SBOMS, but we were doing so anyway. But since they didn't have permission to sign the SBOMs, we disabled that and create unsigned ones instead. This no longer works, and so all CI/PR are failing, blocking all codeflow. Closes #14774 ### What Removed SBOM tasks that ran in CI/PR. ## Screenshots N/A ## Testing N/A ## Changelog Should this change be included in the release notes: _no_
1 parent 1d04e27 commit 1e3346e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

.ado/templates/publish-build-artifacts.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ steps:
2222
contents: ${{parameters.contents}}
2323

2424
- ${{ if not(parameters.oneESMode) }}:
25-
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
26-
displayName: "📒 Generate Manifest: ${{parameters.artifactName}}.${{parameters.buildPlatform}}.${{parameters.buildConfiguration}}"
27-
inputs:
28-
BuildDropPath: $(Build.StagingDirectory)/NuGet/${{ parameters.artifactName }}/${{ parameters.buildPlatform }}/${{ parameters.buildConfiguration }}
29-
3025
- task: PublishPipelineArtifact@1
3126
displayName: "Publish Artifact: ${{parameters.artifactName}}.${{parameters.buildPlatform}}.${{parameters.buildConfiguration}}"
3227
# Do nothing if the artifact was already published. E.g. after rerunning a past successful job attempt

.ado/variables/shared.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ variables:
55
runCodesignValidationInjection: false
66
skipComponentGovernanceDetection: true
77

8-
# SBOM signing only works on microsoft ADO
9-
Packaging.EnableSBOMSigning: ${{ startsWith(variables['System.CollectionUri'], 'https://dev.azure.com/microsoft') }}
10-
118
# Enables `chalk` to show colored output to Azure Pipelines
129
FORCE_COLOR: 3
1310

0 commit comments

Comments
 (0)