diff --git a/.github/workflows/cli-endpoints-batch-deploy-models-custom-outputs-parquet-endpoint.yml b/.github/workflows/cli-endpoints-batch-deploy-models-custom-outputs-parquet-endpoint.yml index f5020fc873..1a2b735c5f 100644 --- a/.github/workflows/cli-endpoints-batch-deploy-models-custom-outputs-parquet-endpoint.yml +++ b/.github/workflows/cli-endpoints-batch-deploy-models-custom-outputs-parquet-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml batch-endpoint delete -n customoutputsparquetendpoint -y + az ml batch-endpoint delete -n tomoutputsparquetendpoint8648 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,18 +54,18 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/batch/deploy-models/custom-outputs-parquet/endpoint.yml - az ml batch-endpoint create -n customoutputsparquetendpoint -f endpoints/batch/deploy-models/custom-outputs-parquet/endpoint.yml + az ml batch-endpoint create -n tomoutputsparquetendpoint8648 -f endpoints/batch/deploy-models/custom-outputs-parquet/endpoint.yml working-directory: cli - name: create deployment run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/batch/deploy-models/custom-outputs-parquet/deployment.yml - az ml batch-deployment create -e customoutputsparquetendpoint -f endpoints/batch/deploy-models/custom-outputs-parquet/deployment.yml + az ml batch-deployment create -e tomoutputsparquetendpoint8648 -f endpoints/batch/deploy-models/custom-outputs-parquet/deployment.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml batch-endpoint delete -n customoutputsparquetendpoint -y + az ml batch-endpoint delete -n tomoutputsparquetendpoint8648 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-batch-deploy-models-heart-classifier-mlflow-endpoint.yml b/.github/workflows/cli-endpoints-batch-deploy-models-heart-classifier-mlflow-endpoint.yml index e7e438ff28..45e7ca1bcc 100644 --- a/.github/workflows/cli-endpoints-batch-deploy-models-heart-classifier-mlflow-endpoint.yml +++ b/.github/workflows/cli-endpoints-batch-deploy-models-heart-classifier-mlflow-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml batch-endpoint delete -n heartclassifiermlflowendpoint -y + az ml batch-endpoint delete -n tclassifiermlflowendpoint2492 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/batch/deploy-models/heart-classifier-mlflow/endpoint.yml - az ml batch-endpoint create -n heartclassifiermlflowendpoint -f endpoints/batch/deploy-models/heart-classifier-mlflow/endpoint.yml + az ml batch-endpoint create -n tclassifiermlflowendpoint2492 -f endpoints/batch/deploy-models/heart-classifier-mlflow/endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml batch-endpoint delete -n heartclassifiermlflowendpoint -y + az ml batch-endpoint delete -n tclassifiermlflowendpoint2492 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-batch-deploy-models-huggingface-text-summarization-endpoint.yml b/.github/workflows/cli-endpoints-batch-deploy-models-huggingface-text-summarization-endpoint.yml index 972168fb22..cdcb318eb5 100644 --- a/.github/workflows/cli-endpoints-batch-deploy-models-huggingface-text-summarization-endpoint.yml +++ b/.github/workflows/cli-endpoints-batch-deploy-models-huggingface-text-summarization-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml batch-endpoint delete -n facetextsummarizationendpoint -y + az ml batch-endpoint delete -n textsummarizationendpoint2688 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,18 +54,18 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/batch/deploy-models/huggingface-text-summarization/endpoint.yml - az ml batch-endpoint create -n facetextsummarizationendpoint -f endpoints/batch/deploy-models/huggingface-text-summarization/endpoint.yml + az ml batch-endpoint create -n textsummarizationendpoint2688 -f endpoints/batch/deploy-models/huggingface-text-summarization/endpoint.yml working-directory: cli - name: create deployment run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/batch/deploy-models/huggingface-text-summarization/deployment.yml - az ml batch-deployment create -e facetextsummarizationendpoint -f endpoints/batch/deploy-models/huggingface-text-summarization/deployment.yml + az ml batch-deployment create -e textsummarizationendpoint2688 -f endpoints/batch/deploy-models/huggingface-text-summarization/deployment.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml batch-endpoint delete -n facetextsummarizationendpoint -y + az ml batch-endpoint delete -n textsummarizationendpoint2688 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-batch-deploy-models-imagenet-classifier-endpoint.yml b/.github/workflows/cli-endpoints-batch-deploy-models-imagenet-classifier-endpoint.yml index b95338bb40..310af9c11e 100644 --- a/.github/workflows/cli-endpoints-batch-deploy-models-imagenet-classifier-endpoint.yml +++ b/.github/workflows/cli-endpoints-batch-deploy-models-imagenet-classifier-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml batch-endpoint delete -n elsimagenetclassifierendpoint -y + az ml batch-endpoint delete -n imagenetclassifierendpoint4907 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/batch/deploy-models/imagenet-classifier/endpoint.yml - az ml batch-endpoint create -n elsimagenetclassifierendpoint -f endpoints/batch/deploy-models/imagenet-classifier/endpoint.yml + az ml batch-endpoint create -n imagenetclassifierendpoint4907 -f endpoints/batch/deploy-models/imagenet-classifier/endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml batch-endpoint delete -n elsimagenetclassifierendpoint -y + az ml batch-endpoint delete -n imagenetclassifierendpoint4907 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-batch-deploy-models-mnist-classifier-endpoint.yml b/.github/workflows/cli-endpoints-batch-deploy-models-mnist-classifier-endpoint.yml index b76b98799b..9de7252c80 100644 --- a/.github/workflows/cli-endpoints-batch-deploy-models-mnist-classifier-endpoint.yml +++ b/.github/workflows/cli-endpoints-batch-deploy-models-mnist-classifier-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml batch-endpoint delete -n modelsmnistclassifierendpoint -y + az ml batch-endpoint delete -n lsmnistclassifierendpoint4480 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/batch/deploy-models/mnist-classifier/endpoint.yml - az ml batch-endpoint create -n modelsmnistclassifierendpoint -f endpoints/batch/deploy-models/mnist-classifier/endpoint.yml + az ml batch-endpoint create -n lsmnistclassifierendpoint4480 -f endpoints/batch/deploy-models/mnist-classifier/endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml batch-endpoint delete -n modelsmnistclassifierendpoint -y + az ml batch-endpoint delete -n lsmnistclassifierendpoint4480 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-batch-deploy-pipelines-batch-scoring-with-preprocessing-endpoint.yml b/.github/workflows/cli-endpoints-batch-deploy-pipelines-batch-scoring-with-preprocessing-endpoint.yml new file mode 100644 index 0000000000..9688bc8308 --- /dev/null +++ b/.github/workflows/cli-endpoints-batch-deploy-pipelines-batch-scoring-with-preprocessing-endpoint.yml @@ -0,0 +1,71 @@ +# This code is autogenerated. +# Code is generated by running custom script: python3 readme.py +# Any manual changes to this file may cause incorrect behavior. +# Any manual changes will be overwritten if the code is regenerated. + +name: cli-endpoints-batch-deploy-pipelines-batch-scoring-with-preprocessing-endpoint +on: + workflow_dispatch: + schedule: + - cron: "18 11/12 * * *" + pull_request: + branches: + - main + paths: + - cli/endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing/** + - cli/endpoints/batch/** + - infra/bootstrapping/** + - .github/workflows/cli-endpoints-batch-deploy-pipelines-batch-scoring-with-preprocessing-endpoint.yml + - cli/setup.sh +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: check out repo + uses: actions/checkout@v2 + - name: azure login + uses: azure/login@v1 + with: + creds: ${{secrets.AZUREML_CREDENTIALS}} + - name: bootstrap resources + run: | + bash bootstrap.sh + working-directory: infra + continue-on-error: false + - name: setup-cli + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + bash setup.sh + working-directory: cli + continue-on-error: true + - name: delete endpoint if existing + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + az ml batch-endpoint delete -n withpreprocessingendpoint4161 -y + working-directory: cli + continue-on-error: true + - name: create endpoint + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + cat endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing/endpoint.yml + az ml batch-endpoint create -n withpreprocessingendpoint4161 -f endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing/endpoint.yml + working-directory: cli + - name: create deployment + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + cat endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing/deployment.yml + az ml batch-deployment create -e withpreprocessingendpoint4161 -f endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing/deployment.yml + working-directory: cli + - name: cleanup endpoint + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + az ml batch-endpoint delete -n withpreprocessingendpoint4161 -y + working-directory: cli diff --git a/.github/workflows/cli-endpoints-batch-deploy-pipelines-hello-batch-endpoint.yml b/.github/workflows/cli-endpoints-batch-deploy-pipelines-hello-batch-endpoint.yml new file mode 100644 index 0000000000..e80f73111c --- /dev/null +++ b/.github/workflows/cli-endpoints-batch-deploy-pipelines-hello-batch-endpoint.yml @@ -0,0 +1,71 @@ +# This code is autogenerated. +# Code is generated by running custom script: python3 readme.py +# Any manual changes to this file may cause incorrect behavior. +# Any manual changes will be overwritten if the code is regenerated. + +name: cli-endpoints-batch-deploy-pipelines-hello-batch-endpoint +on: + workflow_dispatch: + schedule: + - cron: "18 11/12 * * *" + pull_request: + branches: + - main + paths: + - cli/endpoints/batch/deploy-pipelines/hello-batch/** + - cli/endpoints/batch/** + - infra/bootstrapping/** + - .github/workflows/cli-endpoints-batch-deploy-pipelines-hello-batch-endpoint.yml + - cli/setup.sh +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: check out repo + uses: actions/checkout@v2 + - name: azure login + uses: azure/login@v1 + with: + creds: ${{secrets.AZUREML_CREDENTIALS}} + - name: bootstrap resources + run: | + bash bootstrap.sh + working-directory: infra + continue-on-error: false + - name: setup-cli + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + bash setup.sh + working-directory: cli + continue-on-error: true + - name: delete endpoint if existing + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + az ml batch-endpoint delete -n pelineshellobatchendpoint4977 -y + working-directory: cli + continue-on-error: true + - name: create endpoint + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + cat endpoints/batch/deploy-pipelines/hello-batch/endpoint.yml + az ml batch-endpoint create -n pelineshellobatchendpoint4977 -f endpoints/batch/deploy-pipelines/hello-batch/endpoint.yml + working-directory: cli + - name: create deployment + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + cat endpoints/batch/deploy-pipelines/hello-batch/deployment.yml + az ml batch-deployment create -e pelineshellobatchendpoint4977 -f endpoints/batch/deploy-pipelines/hello-batch/deployment.yml + working-directory: cli + - name: cleanup endpoint + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + az ml batch-endpoint delete -n pelineshellobatchendpoint4977 -y + working-directory: cli diff --git a/.github/workflows/cli-endpoints-batch-deploy-pipelines-training-with-components-endpoint.yml b/.github/workflows/cli-endpoints-batch-deploy-pipelines-training-with-components-endpoint.yml new file mode 100644 index 0000000000..c039f8fc4b --- /dev/null +++ b/.github/workflows/cli-endpoints-batch-deploy-pipelines-training-with-components-endpoint.yml @@ -0,0 +1,64 @@ +# This code is autogenerated. +# Code is generated by running custom script: python3 readme.py +# Any manual changes to this file may cause incorrect behavior. +# Any manual changes will be overwritten if the code is regenerated. + +name: cli-endpoints-batch-deploy-pipelines-training-with-components-endpoint +on: + workflow_dispatch: + schedule: + - cron: "18 11/12 * * *" + pull_request: + branches: + - main + paths: + - cli/endpoints/batch/deploy-pipelines/training-with-components/** + - cli/endpoints/batch/** + - infra/bootstrapping/** + - .github/workflows/cli-endpoints-batch-deploy-pipelines-training-with-components-endpoint.yml + - cli/setup.sh +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: check out repo + uses: actions/checkout@v2 + - name: azure login + uses: azure/login@v1 + with: + creds: ${{secrets.AZUREML_CREDENTIALS}} + - name: bootstrap resources + run: | + bash bootstrap.sh + working-directory: infra + continue-on-error: false + - name: setup-cli + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + bash setup.sh + working-directory: cli + continue-on-error: true + - name: delete endpoint if existing + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + az ml batch-endpoint delete -n ingwithcomponentsendpoint5309 -y + working-directory: cli + continue-on-error: true + - name: create endpoint + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + cat endpoints/batch/deploy-pipelines/training-with-components/endpoint.yml + az ml batch-endpoint create -n ingwithcomponentsendpoint5309 -f endpoints/batch/deploy-pipelines/training-with-components/endpoint.yml + working-directory: cli + - name: cleanup endpoint + run: | + source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; + source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; + az ml batch-endpoint delete -n ingwithcomponentsendpoint5309 -y + working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-custom-container-minimal-multimodel-minimal-multimodel-endpoint.yml b/.github/workflows/cli-endpoints-online-custom-container-minimal-multimodel-minimal-multimodel-endpoint.yml index 2d1801fc28..5b87030b31 100644 --- a/.github/workflows/cli-endpoints-online-custom-container-minimal-multimodel-minimal-multimodel-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-custom-container-minimal-multimodel-minimal-multimodel-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n odelminimalmultimodelendpoint -y + az ml online-endpoint delete -n minimalmultimodelendpoint4548 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/custom-container/minimal/multimodel/minimal-multimodel-endpoint.yml - az ml online-endpoint create -n odelminimalmultimodelendpoint -f endpoints/online/custom-container/minimal/multimodel/minimal-multimodel-endpoint.yml + az ml online-endpoint create -n minimalmultimodelendpoint4548 -f endpoints/online/custom-container/minimal/multimodel/minimal-multimodel-endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n odelminimalmultimodelendpoint -y + az ml online-endpoint delete -n minimalmultimodelendpoint4548 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-custom-container-minimal-single-model-conda-in-dockerfile-minimal-single-model-conda-in-dockerfile-endpoint.yml b/.github/workflows/cli-endpoints-online-custom-container-minimal-single-model-conda-in-dockerfile-minimal-single-model-conda-in-dockerfile-endpoint.yml index dd1c463a13..24fe9c8643 100644 --- a/.github/workflows/cli-endpoints-online-custom-container-minimal-single-model-conda-in-dockerfile-minimal-single-model-conda-in-dockerfile-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-custom-container-minimal-single-model-conda-in-dockerfile-minimal-single-model-conda-in-dockerfile-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n delcondaindockerfileendpoint -y + az ml online-endpoint delete -n condaindockerfileendpoint6292 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/custom-container/minimal/single-model/conda-in-dockerfile/minimal-single-model-conda-in-dockerfile-endpoint.yml - az ml online-endpoint create -n delcondaindockerfileendpoint -f endpoints/online/custom-container/minimal/single-model/conda-in-dockerfile/minimal-single-model-conda-in-dockerfile-endpoint.yml + az ml online-endpoint create -n condaindockerfileendpoint6292 -f endpoints/online/custom-container/minimal/single-model/conda-in-dockerfile/minimal-single-model-conda-in-dockerfile-endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n delcondaindockerfileendpoint -y + az ml online-endpoint delete -n condaindockerfileendpoint6292 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-custom-container-minimal-single-model-minimal-single-model-endpoint.yml b/.github/workflows/cli-endpoints-online-custom-container-minimal-single-model-minimal-single-model-endpoint.yml index d54bddba7a..984e976a18 100644 --- a/.github/workflows/cli-endpoints-online-custom-container-minimal-single-model-minimal-single-model-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-custom-container-minimal-single-model-minimal-single-model-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n elminimalsinglemodelendpoint -y + az ml online-endpoint delete -n inimalsinglemodelendpoint4441 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/custom-container/minimal/single-model/minimal-single-model-endpoint.yml - az ml online-endpoint create -n elminimalsinglemodelendpoint -f endpoints/online/custom-container/minimal/single-model/minimal-single-model-endpoint.yml + az ml online-endpoint create -n inimalsinglemodelendpoint4441 -f endpoints/online/custom-container/minimal/single-model/minimal-single-model-endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n elminimalsinglemodelendpoint -y + az ml online-endpoint delete -n inimalsinglemodelendpoint4441 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-custom-container-mlflow-multideployment-scikit-mlflow-endpoint.yml b/.github/workflows/cli-endpoints-online-custom-container-mlflow-multideployment-scikit-mlflow-endpoint.yml index ceb21e7c61..ff822808a5 100644 --- a/.github/workflows/cli-endpoints-online-custom-container-mlflow-multideployment-scikit-mlflow-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-custom-container-mlflow-multideployment-scikit-mlflow-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n eploymentscikitmlflowendpoint -y + az ml online-endpoint delete -n ymentscikitmlflowendpoint7201 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/custom-container/mlflow/multideployment-scikit/mlflow-endpoint.yml - az ml online-endpoint create -n eploymentscikitmlflowendpoint -f endpoints/online/custom-container/mlflow/multideployment-scikit/mlflow-endpoint.yml + az ml online-endpoint create -n ymentscikitmlflowendpoint7201 -f endpoints/online/custom-container/mlflow/multideployment-scikit/mlflow-endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n eploymentscikitmlflowendpoint -y + az ml online-endpoint delete -n ymentscikitmlflowendpoint7201 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-custom-container-r-multimodel-plumber-r-endpoint.yml b/.github/workflows/cli-endpoints-online-custom-container-r-multimodel-plumber-r-endpoint.yml index 68e55bbab3..4f084ce8ea 100644 --- a/.github/workflows/cli-endpoints-online-custom-container-r-multimodel-plumber-r-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-custom-container-r-multimodel-plumber-r-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n rmultimodelplumberrendpoint -y + az ml online-endpoint delete -n ultimodelplumberrendpoint3315 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/custom-container/r/multimodel-plumber/r-endpoint.yml - az ml online-endpoint create -n rmultimodelplumberrendpoint -f endpoints/online/custom-container/r/multimodel-plumber/r-endpoint.yml + az ml online-endpoint create -n ultimodelplumberrendpoint3315 -f endpoints/online/custom-container/r/multimodel-plumber/r-endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n rmultimodelplumberrendpoint -y + az ml online-endpoint delete -n ultimodelplumberrendpoint3315 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-custom-container-torchserve-densenet-torchserve-endpoint.yml b/.github/workflows/cli-endpoints-online-custom-container-torchserve-densenet-torchserve-endpoint.yml index cf4baf8c0d..888bd8aa1a 100644 --- a/.github/workflows/cli-endpoints-online-custom-container-torchserve-densenet-torchserve-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-custom-container-torchserve-densenet-torchserve-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n rvedensenettorchserveendpoint -y + az ml online-endpoint delete -n densenettorchserveendpoint2400 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/custom-container/torchserve/densenet/torchserve-endpoint.yml - az ml online-endpoint create -n rvedensenettorchserveendpoint -f endpoints/online/custom-container/torchserve/densenet/torchserve-endpoint.yml + az ml online-endpoint create -n densenettorchserveendpoint2400 -f endpoints/online/custom-container/torchserve/densenet/torchserve-endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n rvedensenettorchserveendpoint -y + az ml online-endpoint delete -n densenettorchserveendpoint2400 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-custom-container-triton-single-model-triton-cc-endpoint.yml b/.github/workflows/cli-endpoints-online-custom-container-triton-single-model-triton-cc-endpoint.yml index e464d7211b..a6f7837e4b 100644 --- a/.github/workflows/cli-endpoints-online-custom-container-triton-single-model-triton-cc-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-custom-container-triton-single-model-triton-cc-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n singlemodeltritonccendpoint -y + az ml online-endpoint delete -n glemodeltritonccendpoint5264 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/custom-container/triton/single-model/triton-cc-endpoint.yml - az ml online-endpoint create -n singlemodeltritonccendpoint -f endpoints/online/custom-container/triton/single-model/triton-cc-endpoint.yml + az ml online-endpoint create -n glemodeltritonccendpoint5264 -f endpoints/online/custom-container/triton/single-model/triton-cc-endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n singlemodeltritonccendpoint -y + az ml online-endpoint delete -n glemodeltritonccendpoint5264 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-kubernetes-kubernetes-endpoint.yml b/.github/workflows/cli-endpoints-online-kubernetes-kubernetes-endpoint.yml index 1c96e775c6..f8e6604370 100644 --- a/.github/workflows/cli-endpoints-online-kubernetes-kubernetes-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-kubernetes-kubernetes-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n ekuberneteskubernetesendpoint -y + az ml online-endpoint delete -n berneteskubernetesendpoint9684 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,18 +54,18 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/kubernetes/kubernetes-endpoint.yml - az ml online-endpoint create -n ekuberneteskubernetesendpoint -f endpoints/online/kubernetes/kubernetes-endpoint.yml + az ml online-endpoint create -n berneteskubernetesendpoint9684 -f endpoints/online/kubernetes/kubernetes-endpoint.yml working-directory: cli - name: create deployment run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/kubernetes/kubernetes-blue-deployment.yml - az ml online-deployment create -e ekuberneteskubernetesendpoint -f endpoints/online/kubernetes/kubernetes-blue-deployment.yml + az ml online-deployment create -e berneteskubernetesendpoint9684 -f endpoints/online/kubernetes/kubernetes-blue-deployment.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n ekuberneteskubernetesendpoint -y + az ml online-endpoint delete -n berneteskubernetesendpoint9684 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-managed-sample-endpoint.yml b/.github/workflows/cli-endpoints-online-managed-sample-endpoint.yml index 313158780e..7af5c62cad 100644 --- a/.github/workflows/cli-endpoints-online-managed-sample-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-managed-sample-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n sonlinemanagedsampleendpoint -y + az ml online-endpoint delete -n linemanagedsampleendpoint8039 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,25 +54,25 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/managed/sample/endpoint.yml - az ml online-endpoint create -n sonlinemanagedsampleendpoint -f endpoints/online/managed/sample/endpoint.yml + az ml online-endpoint create -n linemanagedsampleendpoint8039 -f endpoints/online/managed/sample/endpoint.yml working-directory: cli - name: create deployment run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/managed/sample/blue-deployment.yml - az ml online-deployment create -e sonlinemanagedsampleendpoint -f endpoints/online/managed/sample/blue-deployment.yml + az ml online-deployment create -e linemanagedsampleendpoint8039 -f endpoints/online/managed/sample/blue-deployment.yml working-directory: cli - name: create deployment run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/managed/sample/green-deployment.yml - az ml online-deployment create -e sonlinemanagedsampleendpoint -f endpoints/online/managed/sample/green-deployment.yml + az ml online-deployment create -e linemanagedsampleendpoint8039 -f endpoints/online/managed/sample/green-deployment.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n sonlinemanagedsampleendpoint -y + az ml online-endpoint delete -n linemanagedsampleendpoint8039 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-managed-vnet-mlflow-endpoint.yml b/.github/workflows/cli-endpoints-online-managed-vnet-mlflow-endpoint.yml index 1ae8c96869..615e4a8c8e 100644 --- a/.github/workflows/cli-endpoints-online-managed-vnet-mlflow-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-managed-vnet-mlflow-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n inemanagedvnetmlflowendpoint -y + az ml online-endpoint delete -n managedvnetmlflowendpoint9453 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/managed/vnet/mlflow/endpoint.yml - az ml online-endpoint create -n inemanagedvnetmlflowendpoint -f endpoints/online/managed/vnet/mlflow/endpoint.yml + az ml online-endpoint create -n managedvnetmlflowendpoint9453 -f endpoints/online/managed/vnet/mlflow/endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n inemanagedvnetmlflowendpoint -y + az ml online-endpoint delete -n managedvnetmlflowendpoint9453 -y working-directory: cli diff --git a/.github/workflows/cli-endpoints-online-managed-vnet-sample-endpoint.yml b/.github/workflows/cli-endpoints-online-managed-vnet-sample-endpoint.yml index 29fca188f9..2a7f14f394 100644 --- a/.github/workflows/cli-endpoints-online-managed-vnet-sample-endpoint.yml +++ b/.github/workflows/cli-endpoints-online-managed-vnet-sample-endpoint.yml @@ -33,7 +33,7 @@ jobs: - name: bootstrap resources run: | bash bootstrap.sh - working-directory: infra/bootstrapping + working-directory: infra continue-on-error: false - name: setup-cli run: | @@ -46,7 +46,7 @@ jobs: run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n inemanagedvnetsampleendpoint -y + az ml online-endpoint delete -n managedvnetsampleendpoint9489 -y working-directory: cli continue-on-error: true - name: create endpoint @@ -54,11 +54,11 @@ jobs: source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; cat endpoints/online/managed/vnet/sample/endpoint.yml - az ml online-endpoint create -n inemanagedvnetsampleendpoint -f endpoints/online/managed/vnet/sample/endpoint.yml + az ml online-endpoint create -n managedvnetsampleendpoint9489 -f endpoints/online/managed/vnet/sample/endpoint.yml working-directory: cli - name: cleanup endpoint run: | source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh"; source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh"; - az ml online-endpoint delete -n inemanagedvnetsampleendpoint -y + az ml online-endpoint delete -n managedvnetsampleendpoint9489 -y working-directory: cli diff --git a/cli/readme.py b/cli/readme.py index 08f746331f..2039e25ea7 100644 --- a/cli/readme.py +++ b/cli/readme.py @@ -587,7 +587,9 @@ def write_endpoint_workflow(endpoint): if "endpoints/batch/" in endpoint else "unknown" ) - endpoint_name = hyphenated[-32:].replace("-", "") + endpoint_name = hyphenated[-28:].replace("-", "") + str( + random.randrange(1000, 9999) + ) create_endpoint_yaml = f"""{READONLY_HEADER} name: cli-{hyphenated}