From a230dba194ae0472d8f691cb74490a2e92d10241 Mon Sep 17 00:00:00 2001 From: "Ashish Kumar (ASHKUMA)" Date: Mon, 11 May 2020 12:55:14 +0530 Subject: [PATCH] adding aks deploy --- .cloud/.azure/test/test_aks_deploy.json | 8 ++++++++ .github/workflows/integration.yml | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .cloud/.azure/test/test_aks_deploy.json diff --git a/.cloud/.azure/test/test_aks_deploy.json b/.cloud/.azure/test/test_aks_deploy.json new file mode 100644 index 0000000..13e2377 --- /dev/null +++ b/.cloud/.azure/test/test_aks_deploy.json @@ -0,0 +1,8 @@ +{ + "name": "dev-aks", + "deployment_compute_target": "devAKS", + "inference_source_directory": "tests/deploy/", + "inference_entry_script": "score.py", + "conda_file": "environment.yml", + "delete_service_after_deployment": true +} \ No newline at end of file diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index ee077fe..93d935e 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -25,3 +25,13 @@ jobs: model_name: mymodel model_version: 1 parameters_file: "test/test_deploy.json" + + # Deploy model in Azure Machine Learning to AKS + - name: Deploy model + id: aml_deploy + uses: ./ + with: + azure_credentials: ${{ secrets.AZURE_CREDENTIALS }} + model_name: mymodel + model_version: 1 + parameters_file: "test/test_aks_deploy.json"