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
fdcd877f
Commit
fdcd877f
authored
Feb 10, 2020
by
SparkSnail
Committed by
GitHub
Feb 10, 2020
Browse files
Fix remote pipeline (#2023)
parent
69dfbf5e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
deployment/docker/Dockerfile
deployment/docker/Dockerfile
+1
-1
test/pipelines-it-remote.yml
test/pipelines-it-remote.yml
+6
-6
No files found.
deployment/docker/Dockerfile
View file @
fdcd877f
...
...
@@ -52,7 +52,7 @@ RUN python3 -m pip --no-cache-dir install Keras==2.1.6
# PyTorch
#
RUN
python3
-m
pip
--no-cache-dir
install
torch
==
1.2.0
RUN
python3
-m
pip
install
torchvision
==
0.
4
.0
RUN
python3
-m
pip
install
torchvision
==
0.
5
.0
#
# sklearn 0.20.0
...
...
test/pipelines-it-remote.yml
View file @
fdcd877f
...
...
@@ -20,31 +20,31 @@ jobs:
displayName
:
'
Install
dependencies
for
integration
tests
in
remote
mode'
-
task
:
CopyFilesOverSSH@0
inputs
:
sshEndpoint
:
remote_nni-ci-gpu-01
sshEndpoint
:
$(end_point)
sourceFolder
:
deployment/pypi/dist/
targetFolder
:
/tmp/nnitest/$(Build.BuildId)/dist
overwrite
:
true
displayName
:
'
Copy
dist
files
to
remote
machine'
-
task
:
CopyFilesOverSSH@0
inputs
:
sshEndpoint
:
remote_nni-ci-gpu-01
sshEndpoint
:
$(end_point)
sourceFolder
:
test
targetFolder
:
/tmp/nnitest/$(Build.BuildId)/test
overwrite
:
true
displayName
:
'
Copy
test
files
to
remote
machine'
-
task
:
SSH@0
inputs
:
sshEndpoint
:
remote_nni-ci-gpu-01
sshEndpoint
:
$(end_point)
runOptions
:
commands
commands
:
python3 /tmp/nnitest/$(Build.BuildId)/test/remote_docker.py --mode start --name $(Build.BuildId) --image nni/nni
displayName
:
'
Start
docker'
-
task
:
DownloadSecureFile@1
inputs
:
secureFile
:
remote_
ci_
private_key
secureFile
:
$(
remote_private_key
)
-
script
:
|
cp $(Agent.TempDirectory)/remote_
ci_
private_key test/id_rsa
cp $(Agent.TempDirectory)/
$(
remote_private_key
)
test/id_rsa
chmod 600 test/id_rsa
scp -i test/id_rsa $(remote_user)@$(remote_host):/tmp/nnitest/$(Build.BuildId)/port test/port
scp
-P $(remote_port)
-i test/id_rsa $(remote_user)@$(remote_host):/tmp/nnitest/$(Build.BuildId)/port test/port
cat test/port
displayName
:
'
Get
docker
port'
-
script
:
|
...
...
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