-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
integration-test-remote-w2w.yml
53 lines (45 loc) · 1.32 KB
/
integration-test-remote-w2w.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
trigger: none
pr: none
schedules:
- cron: 0 20 * * *
branches:
include: [ master ]
always: true
variables:
ssh_user: NNIUser
ssh_password: P@ssW0rD!
jobs:
- job: remote_windows2windows
pool: nni-it-1es-windows
timeoutInMinutes: 120
steps:
# FIXME: GPU is not supported yet.
- template: templates/install-dependencies.yml
parameters:
platform: windows
python_env: noop
- template: templates/install-nni.yml
parameters:
user: false
- template: templates/install-customized-tuner.yml
- powershell: |
python test/vso_tools/ssl_patch.py
displayName: SSL patch
# Connects to itself.
# See username and password in test/vso_tools/build_vm
- powershell: |
cd test
python training_service/nnitest/generate_ts_config.py `
--ts remote `
--remote_reuse false `
--remote_user $(ssh_user) `
--remote_host localhost `
--remote_port 22 `
--remote_pwd "$(ssh_password)" `
--nni_manager_ip localhost
Get-Content training_service/config/training_service.yml
python training_service/nnitest/run_tests.py --config training_service/config/integration_tests.yml --ts remote
displayName: Integration test
- template: templates/save-crashed-info.yml
parameters:
training_service: remote