Skip to content

Commit

Permalink
Migrate IcM generation to monitor (Azure#1926)
Browse files Browse the repository at this point in the history
* Remove IcMs from readme.py

* Update workflows
  • Loading branch information
kdestin committed Dec 5, 2022
1 parent 678cf59 commit c586f89
Show file tree
Hide file tree
Showing 91 changed files with 0 additions and 1,730 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: share-models-components-environments
path: sdk/python/assets/assets-in-registry

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'assets/assets-in-registry/share-models-components-environments.ipynb'"
Summary: |
Notebook 'assets/assets-in-registry/share-models-components-environments.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "assets/assets-in-registry/share-models-components-environments.ipynb[${{ github.ref_name }}]"
19 changes: 0 additions & 19 deletions .github/workflows/sdk-assets-component-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: component
path: sdk/python/assets/component

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'assets/component/component.ipynb'"
Summary: |
Notebook 'assets/component/component.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "assets/component/component.ipynb[${{ github.ref_name }}]"
19 changes: 0 additions & 19 deletions .github/workflows/sdk-assets-data-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: data
path: sdk/python/assets/data

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'assets/data/data.ipynb'"
Summary: |
Notebook 'assets/data/data.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "assets/data/data.ipynb[${{ github.ref_name }}]"
19 changes: 0 additions & 19 deletions .github/workflows/sdk-assets-data-working_with_mltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: working_with_mltable
path: sdk/python/assets/data

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'assets/data/working_with_mltable.ipynb'"
Summary: |
Notebook 'assets/data/working_with_mltable.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "assets/data/working_with_mltable.ipynb[${{ github.ref_name }}]"
19 changes: 0 additions & 19 deletions .github/workflows/sdk-assets-environment-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: environment
path: sdk/python/assets/environment

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'assets/environment/environment.ipynb'"
Summary: |
Notebook 'assets/environment/environment.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "assets/environment/environment.ipynb[${{ github.ref_name }}]"
19 changes: 0 additions & 19 deletions .github/workflows/sdk-assets-model-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: model
path: sdk/python/assets/model

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'assets/model/model.ipynb'"
Summary: |
Notebook 'assets/model/model.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "assets/model/model.ipynb[${{ github.ref_name }}]"
19 changes: 0 additions & 19 deletions .github/workflows/sdk-endpoints-batch-custom-output-batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,3 @@ jobs:
with:
name: custom-output-batch
path: sdk/python/endpoints/batch

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'endpoints/batch/custom-output-batch.ipynb'"
Summary: |
Notebook 'endpoints/batch/custom-output-batch.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "endpoints/batch/custom-output-batch.ipynb[${{ github.ref_name }}]"
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,3 @@ jobs:
with:
name: imagenet-classifier-batch
path: sdk/python/endpoints/batch

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'endpoints/batch/imagenet-classifier-batch.ipynb'"
Summary: |
Notebook 'endpoints/batch/imagenet-classifier-batch.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "endpoints/batch/imagenet-classifier-batch.ipynb[${{ github.ref_name }}]"
19 changes: 0 additions & 19 deletions .github/workflows/sdk-endpoints-batch-mlflow-for-batch-tabular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: mlflow-for-batch-tabular
path: sdk/python/endpoints/batch

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'endpoints/batch/mlflow-for-batch-tabular.ipynb'"
Summary: |
Notebook 'endpoints/batch/mlflow-for-batch-tabular.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "endpoints/batch/mlflow-for-batch-tabular.ipynb[${{ github.ref_name }}]"
19 changes: 0 additions & 19 deletions .github/workflows/sdk-endpoints-batch-mnist-batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: mnist-batch
path: sdk/python/endpoints/batch

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'endpoints/batch/mnist-batch.ipynb'"
Summary: |
Notebook 'endpoints/batch/mnist-batch.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "endpoints/batch/mnist-batch.ipynb[${{ github.ref_name }}]"
19 changes: 0 additions & 19 deletions .github/workflows/sdk-endpoints-batch-text-summarization-batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: text-summarization-batch
path: sdk/python/endpoints/batch

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'endpoints/batch/text-summarization-batch.ipynb'"
Summary: |
Notebook 'endpoints/batch/text-summarization-batch.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "endpoints/batch/text-summarization-batch.ipynb[${{ github.ref_name }}]"
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: online-endpoints-custom-container-multimodel
path: sdk/python/endpoints/online/custom-container

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'endpoints/online/custom-container/online-endpoints-custom-container-multimodel.ipynb'"
Summary: |
Notebook 'endpoints/online/custom-container/online-endpoints-custom-container-multimodel.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "endpoints/online/custom-container/online-endpoints-custom-container-multimodel.ipynb[${{ github.ref_name }}]"
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: online-endpoints-custom-container
path: sdk/python/endpoints/online/custom-container

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'endpoints/online/custom-container/online-endpoints-custom-container.ipynb'"
Summary: |
Notebook 'endpoints/online/custom-container/online-endpoints-custom-container.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "endpoints/online/custom-container/online-endpoints-custom-container.ipynb[${{ github.ref_name }}]"
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: online-endpoints-triton-cc
path: sdk/python/endpoints/online/custom-container/triton

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'endpoints/online/custom-container/triton/online-endpoints-triton-cc.ipynb'"
Summary: |
Notebook 'endpoints/online/custom-container/triton/online-endpoints-triton-cc.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "endpoints/online/custom-container/triton/online-endpoints-triton-cc.ipynb[${{ github.ref_name }}]"
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ jobs:
with:
name: kubernetes-online-endpoints-safe-rollout
path: sdk/python/endpoints/online/kubernetes

- name: Send IcM on failure
if: ${{ failure() && github.ref_type == 'branch' && (github.ref_name == 'main' || contains(github.ref_name, 'release')) }}
uses: ./.github/actions/generate-icm
with:
host: ${{ secrets.AZUREML_ICM_CONNECTOR_HOST_NAME }}
connector_id: ${{ secrets.AZUREML_ICM_CONNECTOR_CONNECTOR_ID }}
certificate: ${{ secrets.AZUREML_ICM_CONNECTOR_CERTIFICATE }}
private_key: ${{ secrets.AZUREML_ICM_CONNECTOR_PRIVATE_KEY }}
args: |
incident:
Title: "[azureml-examples] Notebook validation failed on branch '${{ github.ref_name }}' for notebook 'endpoints/online/kubernetes/kubernetes-online-endpoints-safe-rollout.ipynb'"
Summary: |
Notebook 'endpoints/online/kubernetes/kubernetes-online-endpoints-safe-rollout.ipynb' is failing on branch '${{ github.ref_name }}': ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Severity: 4
RoutingId: "github://azureml-examples"
Status: Active
Source:
IncidentId: "endpoints/online/kubernetes/kubernetes-online-endpoints-safe-rollout.ipynb[${{ github.ref_name }}]"
Loading

0 comments on commit c586f89

Please sign in to comment.