Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
6bf442cb
Commit
6bf442cb
authored
Aug 06, 2019
by
Chengmin Chi
Browse files
updates
parent
ee4c8aea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
test/pipelines-it-pai.yml
test/pipelines-it-pai.yml
+2
-1
test/pipelines-it-remote.yml
test/pipelines-it-remote.yml
+2
-7
No files found.
test/pipelines-it-pai.yml
View file @
6bf442cb
...
@@ -50,6 +50,7 @@ jobs:
...
@@ -50,6 +50,7 @@ jobs:
displayName
:
'
Install
dependencies
for
integration
tests
in
PAI
mode'
displayName
:
'
Install
dependencies
for
integration
tests
in
PAI
mode'
-
script
:
|
-
script
:
|
set -e
if [ $(build_docker_img) = 'true' ]
if [ $(build_docker_img) = 'true' ]
then
then
cd deployment/pypi
cd deployment/pypi
...
@@ -76,5 +77,5 @@ jobs:
...
@@ -76,5 +77,5 @@ jobs:
--nni_docker_image $TEST_IMG --data_dir $(data_dir) --output_dir $(output_dir) --nni_manager_ip $(nni_manager_ip)
--nni_docker_image $TEST_IMG --data_dir $(data_dir) --output_dir $(output_dir) --nni_manager_ip $(nni_manager_ip)
PATH=$HOME/.local/bin:$PATH python3 config_test.py --ts pai --exclude multi_phase_batch,multi_phase_grid
PATH=$HOME/.local/bin:$PATH python3 config_test.py --ts pai --exclude multi_phase_batch,multi_phase_grid
#TODO add
metrics
test
PATH=$HOME/.local/bin:$PATH python3
metrics
_
test
.py
displayName
:
'
integration
test'
displayName
:
'
integration
test'
test/pipelines-it-remote.yml
View file @
6bf442cb
...
@@ -48,18 +48,13 @@ jobs:
...
@@ -48,18 +48,13 @@ jobs:
cat test/port
cat test/port
displayName
:
'
Get
docker
port'
displayName
:
'
Get
docker
port'
-
script
:
|
-
script
:
|
cd test
set -e
python3 generate_ts_config.py --ts remote --remote_user $(docker_user) --remote_host $(remote_host) \
--remote_port $(cat port) --remote_pwd $(docker_pwd) --nni_manager_ip $(nni_manager_ip)
cat training_service.yml
PATH=$HOME/.local/bin:$PATH python3 metrics_test.py
displayName
:
'
metrics
test'
-
script
:
|
cd test
cd test
python3 generate_ts_config.py --ts remote --remote_user $(docker_user) --remote_host $(remote_host) \
python3 generate_ts_config.py --ts remote --remote_user $(docker_user) --remote_host $(remote_host) \
--remote_port $(cat port) --remote_pwd $(docker_pwd) --nni_manager_ip $(nni_manager_ip)
--remote_port $(cat port) --remote_pwd $(docker_pwd) --nni_manager_ip $(nni_manager_ip)
cat training_service.yml
cat training_service.yml
PATH=$HOME/.local/bin:$PATH python3 config_test.py --ts remote --exclude cifar10,multi_phase_batch,multi_phase_grid
PATH=$HOME/.local/bin:$PATH python3 config_test.py --ts remote --exclude cifar10,multi_phase_batch,multi_phase_grid
PATH=$HOME/.local/bin:$PATH python3 metrics_test.py
displayName
:
'
integration
test'
displayName
:
'
integration
test'
-
task
:
SSH@0
-
task
:
SSH@0
inputs
:
inputs
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment