adding bash script to update the test json with random service names

This commit is contained in:
Ashish Kumar (ASHKUMA) 2020-05-11 15:53:56 +05:30
Родитель 9603753e36
Коммит a7423c3bd4
3 изменённых файлов: 10 добавлений и 2 удалений

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

@ -1,5 +1,5 @@
{
"name": "mywebservice",
"name": "TESTSERVICENAME",
"inference_source_directory": "tests/deploy/",
"inference_entry_script": "score.py",
"conda_file": "environment.yml",

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

@ -1,5 +1,5 @@
{
"name": "aksinttest",
"name": "TESTSERVICENAME",
"deployment_compute_target": "aks-intTest",
"inference_source_directory": "tests/deploy/",
"inference_entry_script": "score.py",

8
.github/workflows/integration.yml поставляемый
Просмотреть файл

@ -16,6 +16,10 @@ jobs:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
parameters_file: "test/test_workspace.json"
- name: update Service Name Bashfor ACI
run: |
sed -i -e 's/TESTSERVICENAME/'aci$RANDOM'/g' .cloud/.azure/test/test_aci_deploy.json
# Deploy model in Azure Machine Learning to ACI
- name: Deploy model
id: aml_deploy
@ -26,6 +30,10 @@ jobs:
model_version: 1
parameters_file: "test/test_aci_deploy.json"
- name: update Service Name Bash for AKS
run: |
sed -i -e 's/TESTSERVICENAME/'aks$RANDOM'/g' .cloud/.azure/test/test_aks_deploy.json
# Deploy model in Azure Machine Learning to AKS
- name: Deploy model
id: aml_deploy_aks