Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add random numbers at the end of endpoint name in workflows #2558

Merged
merged 2 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,26 @@ 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 tomoutputsparquetendpoint8741 -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-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 tomoutputsparquetendpoint8741 -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 tomoutputsparquetendpoint8741 -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 tomoutputsparquetendpoint8741 -y
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ 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 tclassifiermlflowendpoint3191 -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-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 tclassifiermlflowendpoint3191 -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 tclassifiermlflowendpoint3191 -y
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,26 @@ 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 textsummarizationendpoint2742 -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-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 textsummarizationendpoint2742 -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 textsummarizationendpoint2742 -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 textsummarizationendpoint2742 -y
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ 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 imagenetclassifierendpoint3948 -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-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 imagenetclassifierendpoint3948 -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 imagenetclassifierendpoint3948 -y
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ 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 lsmnistclassifierendpoint9980 -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-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 lsmnistclassifierendpoint9980 -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 lsmnistclassifierendpoint9980 -y
working-directory: cli
Original file line number Diff line number Diff line change
@@ -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/bootstrapping
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 withpreprocessingendpoint6601 -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 withpreprocessingendpoint6601 -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 withpreprocessingendpoint6601 -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 withpreprocessingendpoint6601 -y
working-directory: cli
Original file line number Diff line number Diff line change
@@ -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/bootstrapping
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 pelineshellobatchendpoint9006 -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 pelineshellobatchendpoint9006 -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 pelineshellobatchendpoint9006 -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 pelineshellobatchendpoint9006 -y
working-directory: cli
Original file line number Diff line number Diff line change
@@ -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/bootstrapping
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 ingwithcomponentsendpoint9219 -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 ingwithcomponentsendpoint9219 -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 ingwithcomponentsendpoint9219 -y
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ 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 minimalmultimodelendpoint9199 -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/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 minimalmultimodelendpoint9199 -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 minimalmultimodelendpoint9199 -y
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ 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 condaindockerfileendpoint3179 -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/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 condaindockerfileendpoint3179 -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 condaindockerfileendpoint3179 -y
working-directory: cli
Loading