Added creation of AML configuration file to testing pipeline
This commit is contained in:
Родитель
998a21d046
Коммит
ab5ccaa27e
|
@ -1,4 +1,4 @@
|
|||
# This file is almost similar to azure-pipelines-gpu.yml file, key difference is
|
||||
# This file is almost similar to azure-pipelines-gpu.yml file, key difference is
|
||||
# we are running our builds only on Linux machine.
|
||||
# Pull request against these pipelines will trigger this build
|
||||
pr:
|
||||
|
@ -29,7 +29,11 @@ steps:
|
|||
displayName: 'Build Configuration'
|
||||
|
||||
- script: |
|
||||
sed -i 's#"subscription_id": "<>"#"subscription_id": "$(subscriptionid)"#g' .aml_config/config.json
|
||||
mkdir aml_config
|
||||
echo -e "{\n \"subscription_id\":\""$subscription_id"\",
|
||||
\"resource_group\":\""$resource_group"\",
|
||||
\"workspace_name\":\""$workspace_name"\",
|
||||
\"location\":\""$location"\"\n}" > aml_config/config.json
|
||||
|
||||
- bash: |
|
||||
cd image_classification
|
||||
|
|
Загрузка…
Ссылка в новой задаче