mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Address React Native pipeline component detection timeout (#20871)
mac-react-native-ci-pipeline.yml: - We don't need to run component detection for PR builds so just disable it there. npm-packaging-pipeline.yml: - Manually added component detection task was being added twice - removed one. - Increased timeout of stage where component detection is run since the existing timeout was close for some builds.
This commit is contained in:
parent
2200a0b3dd
commit
a508130456
2 changed files with 2 additions and 7 deletions
|
|
@ -47,7 +47,7 @@ resources:
|
|||
ref: 5eda9aded5462201e6310105728d33016e637ea7
|
||||
|
||||
variables:
|
||||
ComponentDetection.Timeout: 660
|
||||
skipComponentGovernanceDetection: true
|
||||
${{ if eq(parameters.NpmPublish, 'nightly (@dev)') }}:
|
||||
NpmPackagingMode: 'dev'
|
||||
${{ if eq(parameters.NpmPublish, 'release candidate (@rc)') }}:
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ stages:
|
|||
|
||||
variables:
|
||||
runCodesignValidationInjection: false
|
||||
ComponentDetection.Timeout: 660
|
||||
TODAY: $[format('{0:dd}{0:MM}{0:yyyy}', pipeline.startTime)]
|
||||
ORT_CACHE_DIR: '$(Pipeline.Workspace)/ccache_ort'
|
||||
|
||||
|
|
@ -120,7 +119,7 @@ stages:
|
|||
vmImage: 'macOS-12'
|
||||
variables:
|
||||
runCodesignValidationInjection: false
|
||||
timeoutInMinutes: 60
|
||||
timeoutInMinutes: 90
|
||||
steps:
|
||||
- task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3
|
||||
displayName: Clean Agent Directories
|
||||
|
|
@ -399,10 +398,6 @@ stages:
|
|||
targetFolder: $(Build.ArtifactStagingDirectory)
|
||||
displayName: Create Artifacts onnxruntime-react-native
|
||||
|
||||
- template: component-governance-component-detection-steps.yml
|
||||
parameters :
|
||||
condition : 'succeeded'
|
||||
|
||||
- task: PublishPipelineArtifact@1
|
||||
inputs:
|
||||
artifact: e2e_test_logs_$(Build.BuildId)_$(Build.BuildNumber)_$(System.JobAttempt)
|
||||
|
|
|
|||
Loading…
Reference in a new issue