Skip to content

Commit

Permalink
Add branch to event name
Browse files Browse the repository at this point in the history
  • Loading branch information
diondrapeck committed Nov 9, 2023
1 parent 86d973c commit 7568f27
Show file tree
Hide file tree
Showing 359 changed files with 988 additions and 436 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-component-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-component-train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-cloud-file-https.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-cloud-file-wasbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-cloud-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-cloud-folder-https.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-cloud-folder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-cloud-mltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-iris-csv-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-local-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-local-folder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-local-mltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-data-public-file-https.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-environment-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-model-local-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/cli-assets-model-local-mlflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
az ml batch-endpoint delete -n tomoutputsparquetendpoint2415 -y
az ml batch-endpoint delete -n tomoutputsparquetendpoint1985 -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 tomoutputsparquetendpoint2415 -f endpoints/batch/deploy-models/custom-outputs-parquet/endpoint.yml > sample_log.txt 2>&1
az ml batch-endpoint create -n tomoutputsparquetendpoint1985 -f endpoints/batch/deploy-models/custom-outputs-parquet/endpoint.yml > sample_log.txt 2>&1
working-directory: cli
- name: Determine Failure Reason
run: |
Expand All @@ -79,14 +79,14 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
- 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 tomoutputsparquetendpoint2415 -f endpoints/batch/deploy-models/custom-outputs-parquet/deployment.yml > sample_log.txt 2>&1
az ml batch-deployment create -e tomoutputsparquetendpoint1985 -f endpoints/batch/deploy-models/custom-outputs-parquet/deployment.yml > sample_log.txt 2>&1
working-directory: cli
- name: Determine Failure Reason
run: |
Expand All @@ -111,11 +111,11 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
- 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 tomoutputsparquetendpoint2415 -y
az ml batch-endpoint delete -n tomoutputsparquetendpoint1985 -y
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
az ml batch-endpoint delete -n tclassifiermlflowendpoint7300 -y
az ml batch-endpoint delete -n tclassifiermlflowendpoint5745 -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 tclassifiermlflowendpoint7300 -f endpoints/batch/deploy-models/heart-classifier-mlflow/endpoint.yml > sample_log.txt 2>&1
az ml batch-endpoint create -n tclassifiermlflowendpoint5745 -f endpoints/batch/deploy-models/heart-classifier-mlflow/endpoint.yml > sample_log.txt 2>&1
working-directory: cli
- name: Determine Failure Reason
run: |
Expand All @@ -79,11 +79,11 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
- 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 tclassifiermlflowendpoint7300 -y
az ml batch-endpoint delete -n tclassifiermlflowendpoint5745 -y
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
az ml batch-endpoint delete -n textsummarizationendpoint3224 -y
az ml batch-endpoint delete -n textsummarizationendpoint7435 -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 textsummarizationendpoint3224 -f endpoints/batch/deploy-models/huggingface-text-summarization/endpoint.yml > sample_log.txt 2>&1
az ml batch-endpoint create -n textsummarizationendpoint7435 -f endpoints/batch/deploy-models/huggingface-text-summarization/endpoint.yml > sample_log.txt 2>&1
working-directory: cli
- name: Determine Failure Reason
run: |
Expand All @@ -79,14 +79,14 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
- 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 textsummarizationendpoint3224 -f endpoints/batch/deploy-models/huggingface-text-summarization/deployment.yml > sample_log.txt 2>&1
az ml batch-deployment create -e textsummarizationendpoint7435 -f endpoints/batch/deploy-models/huggingface-text-summarization/deployment.yml > sample_log.txt 2>&1
working-directory: cli
- name: Determine Failure Reason
run: |
Expand All @@ -111,11 +111,11 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
- 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 textsummarizationendpoint3224 -y
az ml batch-endpoint delete -n textsummarizationendpoint7435 -y
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
az ml batch-endpoint delete -n imagenetclassifierendpoint2792 -y
az ml batch-endpoint delete -n imagenetclassifierendpoint3800 -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 imagenetclassifierendpoint2792 -f endpoints/batch/deploy-models/imagenet-classifier/endpoint.yml > sample_log.txt 2>&1
az ml batch-endpoint create -n imagenetclassifierendpoint3800 -f endpoints/batch/deploy-models/imagenet-classifier/endpoint.yml > sample_log.txt 2>&1
working-directory: cli
- name: Determine Failure Reason
run: |
Expand All @@ -79,11 +79,11 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
- 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 imagenetclassifierendpoint2792 -y
az ml batch-endpoint delete -n imagenetclassifierendpoint3800 -y
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
az ml batch-endpoint delete -n lsmnistclassifierendpoint1696 -y
az ml batch-endpoint delete -n lsmnistclassifierendpoint5998 -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 lsmnistclassifierendpoint1696 -f endpoints/batch/deploy-models/mnist-classifier/endpoint.yml > sample_log.txt 2>&1
az ml batch-endpoint create -n lsmnistclassifierendpoint5998 -f endpoints/batch/deploy-models/mnist-classifier/endpoint.yml > sample_log.txt 2>&1
working-directory: cli
- name: Determine Failure Reason
run: |
Expand All @@ -79,11 +79,11 @@ jobs:
uses: syedhassaanahmed/app-insights-event-action@main
with:
instrumentation-key: "${{ secrets.APP_INSIGHTS_INSTRUMENTATION_KEY }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}"
event-name: "${{ job.status }}_${{ env.FAILURE_REASON }}_${{ github.ref }}"
if: always()
- 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 lsmnistclassifierendpoint1696 -y
az ml batch-endpoint delete -n lsmnistclassifierendpoint5998 -y
working-directory: cli
Loading

0 comments on commit 7568f27

Please sign in to comment.