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
4deb4b44
"test/tracing/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "508bc1dc8d7cff5c1383068d6601ff669f69111d"
Unverified
Commit
4deb4b44
authored
Apr 05, 2020
by
SparkSnail
Committed by
GitHub
Apr 05, 2020
Browse files
Fix pai-windows pipeline (#2270)
parent
742c26eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/nni_manager/training_service/common/util.ts
src/nni_manager/training_service/common/util.ts
+1
-1
test/pipelines/pipelines-it-pai-windows.yml
test/pipelines/pipelines-it-pai-windows.yml
+2
-1
No files found.
src/nni_manager/training_service/common/util.ts
View file @
4deb4b44
...
@@ -69,7 +69,7 @@ export async function execMkdir(directory: string, share: boolean = false): Prom
...
@@ -69,7 +69,7 @@ export async function execMkdir(directory: string, share: boolean = false): Prom
*/
*/
export
async
function
execCopydir
(
source
:
string
,
destination
:
string
):
Promise
<
void
>
{
export
async
function
execCopydir
(
source
:
string
,
destination
:
string
):
Promise
<
void
>
{
if
(
process
.
platform
===
'
win32
'
)
{
if
(
process
.
platform
===
'
win32
'
)
{
await
cpp
.
exec
(
`powershell.exe Copy-Item "
${
source
}
" -Destination "
${
destination
}
" -Recurse`
);
await
cpp
.
exec
(
`powershell.exe Copy-Item "
${
source
}
\\*
" -Destination "
${
destination
}
" -Recurse`
);
}
else
{
}
else
{
await
cpp
.
exec
(
`cp -r '
${
source
}
/.' '
${
destination
}
'`
);
await
cpp
.
exec
(
`cp -r '
${
source
}
/.' '
${
destination
}
'`
);
}
}
...
...
test/pipelines/pipelines-it-pai-windows.yml
View file @
4deb4b44
...
@@ -63,6 +63,7 @@ jobs:
...
@@ -63,6 +63,7 @@ jobs:
cd test
cd test
set PATH=$(ENV_PATH)
set PATH=$(ENV_PATH)
python --version
python --version
python nni_test/nnitest/generate_ts_config.py --ts pai --pai_host $(pai_host) --pai_user $(pai_user) --pai_pwd $(pai_pwd) --vc $(pai_virtual_cluster) --nni_docker_image $(docker_image) --data_dir $(data_dir) --output_dir $(output_dir) --nni_manager_ip $(nni_manager_ip)
mount -o anon $(pai_nfs_uri) $(local_nfs_uri)
python nni_test/nnitest/generate_ts_config.py --ts pai --pai_token $(pai_token) --pai_host $(pai_host) --pai_user $(pai_user) --nni_docker_image $(docker_image) --pai_storage_plugin $(pai_storage_plugin) --nni_manager_nfs_mount_path $(nni_manager_nfs_mount_path) --container_nfs_mount_path $(container_nfs_mount_path) --nni_manager_ip $(nni_manager_ip)
python nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts pai --exclude multi-phase
python nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts pai --exclude multi-phase
displayName
:
'
Examples
and
advanced
features
tests
on
pai'
displayName
:
'
Examples
and
advanced
features
tests
on
pai'
\ No newline at end of file
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