Skip to content

Commit

Permalink
Increase NPM ComponentDetection.Timeout: 1200 (#20681)
Browse files Browse the repository at this point in the history
### Description
<!-- Describe your changes. -->



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
  • Loading branch information
jchen351 authored and yf711 committed Jun 18, 2024
1 parent 37d218e commit 8c3a8de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ parameters:
default: 'nightly (@dev)'

variables:
# pipeline should define the following varaibles
# pipeline should define the following variables
# ExtraBuildArgs
# VersionSuffix

ComponentDetection.Timeout: 1800
${{ if eq(parameters.NpmPublish, 'nightly (@dev)') }}:
NpmPackagingMode: 'dev'
${{ if eq(parameters.NpmPublish, 'release candidate (@rc)') }}:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ steps:
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'
continueOnError: true
condition:
or(or(and(eq('${{parameters.condition}}', 'ci_only'), and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Scheduled'))),
and(eq('${{parameters.condition}}', 'always'), always())),
Expand All @@ -20,7 +21,7 @@ steps:
# ignore unit tests in emscripten. emscripten unit tests are not used in onnxruntime build
# ignore onnx third_party directory. onnx third_party directory is not responsible for onnxruntime build
# ignore react_native e2e node_modules directory. react_native e2e node_modules directory is generated by react_native e2e tests
# ignore github directory. github directory is used for github actions, not for onnxruntime package
# ignore github directory. github directory is used for github actions, not for onnxruntime package
ignoreDirectories:
'$(Build.SourcesDirectory)/cmake/external/emsdk/upstream/emscripten/tests,
$(Build.SourcesDirectory)/cmake/external/onnx/third_party,
Expand Down

0 comments on commit 8c3a8de

Please sign in to comment.