diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index 09a3620..84ecc20 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -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