-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[GA] Split official pipeline #36937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GA] Split official pipeline #36937
Conversation
3f71767 to
258cb90
Compare
| baselineFile: $(Build.SourcesDirectory)\.config\guardian\.gdnbaselines | ||
| binskim: | ||
| scanOutputDirectoryOnly: true | ||
| analyzeTargetGlob: '+:f|artifacts/bin/**/Microsoft.EntityFrameworkCore*.dll;+:f|artifacts/bin/**/Microsoft.Data.Sqlite*.dll;+:f|artifacts/bin/**/ef.exe;+:f|artifacts/bin/**/dotnet-ef.exe;-:f|artifacts/bin/**/shims/**/*.exe;' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works fine in the main job, but fails in Publish Assets:
##[warning]Could not parse glob pattern +:f|artifacts\bin\**\Microsoft.EntityFrameworkCore*.dll;+:f|artifacts\bin\**\Microsoft.Data.Sqlite*.dll;+:f|artifacts\bin\**\ef.exe;+:f|artifacts\bin\**\dotnet-ef.exe;-:f|artifacts\bin\**\shims\**\*.exe; for argument Target. The value will be passed to the tool without resolution.
@mmitche Any ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the official build template will eventually be an asset-less build and not produce anything anymore. This means we shouldn't run binskim or other tools in there.
BinSkim, CG and others compliance tools are now run from the VMR which should give us sufficient coverage. If we still want to run them in this individual repository, then we would need to do that in that other internal pipeline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, but we still need to do it for ef6 as that is not part of VMR and has the same issue
Also, do we even need to set enablePublishBuildAssets: true for efcore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, do we even need to set enablePublishBuildAssets: true for efcore?
Don't think so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll likely continue running compliance tools in this pipeline until GA to avoid disruptions
Enable assetless build
Fix BinSkim filter
Fixes #34814