Added creation of AML configuration file to testing pipeline

This commit is contained in:
Alexandra Teste 2019-04-03 12:23:37 -07:00
Родитель 998a21d046
Коммит ab5ccaa27e
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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