microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0d5d19f67b28024de0b88d4a61bcc4157dc06248

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.pipelines/templates/component-governance-component-detection-steps.yml

28lines · modecode

1# component detection for component governance checks
2parameters:
3- name: condition
4 type: string
5 default: 'succeeded' # could be 'ci_only', 'always', 'succeeded'
6
7steps:
8- ${{ if eq(variables['System.TeamProject'], 'Lotus') }}:
9 - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
10 displayName: 'Component Detection'
11 continueOnError: true
12 condition:
13 or(or(and(eq('${{parameters.condition}}', 'ci_only'), and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Scheduled'))),
14 and(eq('${{parameters.condition}}', 'always'), always())),
15 and(eq('${{parameters.condition}}', 'succeeded'), succeeded()))
16 inputs:
17 # ignore unused language bindings from 3rd party dependencies.
18 # skip the multi-build directories used for the Android and iOS packages. the contents of _deps is covered
19 # by the other builds where we explicitly exclude a subset of _deps
20 ignoreDirectories:
21 '$(Build.BinariesDirectory)/out/RelWithDebInfo/_deps/triton-src/src/grpc_generated,
22 $(Build.BinariesDirectory)/out/RelWithDebInfo/_deps/protobuf-src/benchmarks,
23 $(Build.BinariesDirectory)/out/RelWithDebInfo/_deps/protobuf-src/examples,
24 $(Build.BinariesDirectory)/out/RelWithDebInfo/_deps/protobuf-src/java,
25 $(Build.BinariesDirectory)/out/RelWithDebInfo/_deps/protobuf-src/js,
26 $(Build.BinariesDirectory)/out/RelWithDebInfo/_deps/protobuf-src/ruby,
27 $(Build.BinariesDirectory)/xcframework_out,
28 $(Build.BinariesDirectory)/android_aar'
29