Skip to content

Make sbom generation optional in repos that insert to VS (PR builds)#9337

Merged
epananth merged 1 commit intodotnet:mainfrom
epananth:fix-pr-builds-sbom-generation
May 11, 2022
Merged

Make sbom generation optional in repos that insert to VS (PR builds)#9337
epananth merged 1 commit intodotnet:mainfrom
epananth:fix-pr-builds-sbom-generation

Conversation

@epananth
Copy link
Member

To double check:

Test build -> https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6140675&view=logs&j=4032467e-dc57-5727-0bde-0b3f32a19231&t=d467e7d5-e028-5fd4-b25f-2746de72cefc

(Here Build passed and created VS manifest and did not create SBOM)

@epananth epananth requested a review from mmitche May 11, 2022 22:40
@epananth epananth self-assigned this May 11, 2022
@epananth epananth mentioned this pull request May 11, 2022
2 tasks
@epananth epananth requested a review from MattGal May 11, 2022 23:38
<GenerateSbom Condition="'$(GenerateSbom)' == ''">false</GenerateSbom>
</PropertyGroup>

<Target Name ="GenerateSbomForVSInsertion"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally prefer == 'true' for this sort of clause.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, a double negative makes it harder to process mentally

@epananth epananth merged commit e062206 into dotnet:main May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants