Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
add pipeline timeout (#2154)
Browse files Browse the repository at this point in the history
  • Loading branch information
chicm-ms authored Mar 17, 2020
1 parent 2e42d1d commit ae0d36f
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/pipelines-it-frameworkcontroller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

jobs:
- job: 'integration_test_frameworkController'
timeoutInMinutes: 0
timeoutInMinutes: 120

steps:
- script: python3 -m pip install --upgrade pip setuptools --user
Expand Down
2 changes: 1 addition & 1 deletion test/pipelines-it-kubeflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

jobs:
- job: 'integration_test_kubeflow'
timeoutInMinutes: 0
timeoutInMinutes: 120

steps:
- script: python3 -m pip install --upgrade pip setuptools --user
Expand Down
2 changes: 1 addition & 1 deletion test/pipelines-it-local-windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jobs:
- job: 'integration_test_local_windows'
timeoutInMinutes: 0
timeoutInMinutes: 120

steps:
- script: |
Expand Down
2 changes: 1 addition & 1 deletion test/pipelines-it-local.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jobs:
- job: 'integration_test_local_ubuntu'
timeoutInMinutes: 0
timeoutInMinutes: 120

steps:
- script: python3 -m pip install --upgrade pip setuptools --user
Expand Down
2 changes: 1 addition & 1 deletion test/pipelines-it-pai-windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jobs:
- job: 'build_docker_image'
timeoutInMinutes: 0
timeoutInMinutes: 120
pool:
vmImage: 'Ubuntu 16.04'
steps:
Expand Down
2 changes: 1 addition & 1 deletion test/pipelines-it-pai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

jobs:
- job: 'integration_test_pai'
timeoutInMinutes: 0
timeoutInMinutes: 120

steps:
- script: python3 -m pip install --upgrade pip setuptools --user
Expand Down
3 changes: 2 additions & 1 deletion test/pipelines-it-remote-windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jobs:
- job: 'integration_test_remote_windows'
timeoutInMinutes: 0
timeoutInMinutes: 120

steps:
- script: python -m pip install --upgrade pip setuptools
Expand All @@ -11,6 +11,7 @@ jobs:
targetFolder: /tmp/nnitest/$(Build.BuildId)/nni-remote
overwrite: true
displayName: 'Copy all files to remote machine'
timeoutInMinutes: 10
- script: |
powershell.exe -file install.ps1
displayName: 'Install nni toolkit via source code'
Expand Down
4 changes: 3 additions & 1 deletion test/pipelines-it-remote.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jobs:
- job: 'integration_test_remote'
timeoutInMinutes: 0
timeoutInMinutes: 120

steps:
- script: python3 -m pip install --upgrade pip setuptools --user
Expand All @@ -26,13 +26,15 @@ jobs:
targetFolder: /tmp/nnitest/$(Build.BuildId)/dist
overwrite: true
displayName: 'Copy dist files to remote machine'
timeoutInMinutes: 10
- task: CopyFilesOverSSH@0
inputs:
sshEndpoint: $(end_point)
sourceFolder: test
targetFolder: /tmp/nnitest/$(Build.BuildId)/test
overwrite: true
displayName: 'Copy test files to remote machine'
timeoutInMinutes: 10
- task: SSH@0
inputs:
sshEndpoint: $(end_point)
Expand Down

0 comments on commit ae0d36f

Please sign in to comment.