Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jan 4, 2025
1 parent bbab9ad commit d22fe86
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ extends:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
sdl:
componentgovernance:
ignoreDirectories: '$(Build.Repository.LocalPath)/cmake/external/emsdk/upstream/emscripten/tests,$(Build.Repository.LocalPath)/cmake/external/onnx/third_party/benchmark,$(Build.Repository.LocalPath)/cmake/external/onnx/third_party/pybind11,$(Build.Repository.LocalPath)/cmake/external/onnx/third_party/pybind11/tests,$(Build.Repository.LocalPath)/cmake/external/onnxruntime-extensions,$(Build.Repository.LocalPath)/js/react_native/e2e/node_modules,$(Build.Repository.LocalPath)/js/node_modules,$(Build.Repository.LocalPath)/onnxruntime-inference-examples,$(Build.SourcesDirectory)/cmake/external/emsdk/upstream/emscripten/tests,$(Build.SourcesDirectory)/cmake/external/onnx/third_party/benchmark,$(Build.SourcesDirectory)/cmake/external/onnx/third_party/pybind11,$(Build.SourcesDirectory)/cmake/external/onnx/third_party/pybind11/tests,$(Build.SourcesDirectory)/cmake/external/onnxruntime-extensions,$(Build.SourcesDirectory)/js/react_native/e2e/node_modules,$(Build.SourcesDirectory)/js/node_modules,$(Build.SourcesDirectory)/onnxruntime-inference-examples,$(Build.BinariesDirectory)'
alertWarningLevel: High
failOnAlert: false
verbosity: Normal
timeout: 3600
tsa:
enabled: true
codeSignValidation:
Expand All @@ -37,9 +43,6 @@ extends:
policheck:
enabled: true
exclusionsFile: '$(Build.SourcesDirectory)\tools\ci_build\policheck_exclusions.xml'
pool:
name: 'onnxruntime-Win-CPU-2022' # Name of your hosted pool
os: windows # OS of the image. This value cannot be a variable. Allowed values: windows, linux, macOS

stages:
- template: stages/py-gpu-packaging-stage.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ extends:
policheck:
enabled: true
exclusionsFile: '$(Build.SourcesDirectory)\tools\ci_build\policheck_exclusions.xml'
pool:
name: 'onnxruntime-Win-CPU-2022' # Name of your hosted pool
os: windows # OS of the image. This value cannot be a variable. Allowed values: windows, linux, macOS

stages:
- template: stages/py-gpu-packaging-stage.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,12 @@ stages:
os: linux
templateContext:
sdl:
codeSignValidation:
enabled: true
break: true
psscriptanalyzer:
enabled: true
binskim:
preReleaseVersion: '4.3.1'
enabled: true
preReleaseVersion: '4.3.1'
# The tool failed with error: No usable version of libssl was found
enabled: false
scanOutputDirectoryOnly: true
analyzeTargetGlob: '+:file|$(BUILD.STAGINGDIRECTORY)\**\*.so'
analyzeTargetGlob: '+:file|$(BUILD.STAGINGDIRECTORY)/**/*.so'
outputs:
- output: pipelineArtifact
targetPath: $(Build.ArtifactStagingDirectory)/dist
Expand Down

0 comments on commit d22fe86

Please sign in to comment.