Skip to content

Commit

Permalink
adding condition to execute step always
Browse files Browse the repository at this point in the history
  • Loading branch information
jayesh-tanna committed Oct 11, 2024
1 parent 7913c86 commit 3146a5f
Show file tree
Hide file tree
Showing 151 changed files with 150 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/actions/upload-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ runs:
using: 'composite'
steps:
- name: Upload artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python share-data-using-registry.ipynb share-data-using-registry.output.ipynb
working-directory: sdk/python/assets/assets-in-registry
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: share-data-using-registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python share-models-components-environments.ipynb share-models-components-environments.output.ipynb
working-directory: sdk/python/assets/assets-in-registry
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: share-models-components-environments
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sdk-assets-component-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python component.ipynb component.output.ipynb
working-directory: sdk/python/assets/component
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: component
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sdk-assets-data-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python data.ipynb data.output.ipynb
working-directory: sdk/python/assets/data
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: data
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sdk-assets-data-working_with_mltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python working_with_mltable.ipynb working_with_mltable.output.ipynb
working-directory: sdk/python/assets/data
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: working_with_mltable
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sdk-assets-environment-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python environment.ipynb environment.output.ipynb
working-directory: sdk/python/assets/environment
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: environment
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sdk-assets-model-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python model.ipynb model.output.ipynb
working-directory: sdk/python/assets/model
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python custom-output-batch.ipynb custom-output-batch.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/custom-outputs-parquet
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: custom-output-batch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
papermill -k python mlflow-for-batch-tabular.ipynb mlflow-for-batch-tabular.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/heart-classifier-mlflow
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: mlflow-for-batch-tabular
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
papermill -k python text-summarization-batch.ipynb text-summarization-batch.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/huggingface-text-summarization
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: text-summarization-batch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python imagenet-classifier-batch.ipynb imagenet-classifier-batch.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/imagenet-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: imagenet-classifier-batch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
papermill -k python imagenet-classifier-mlflow.ipynb imagenet-classifier-mlflow.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/imagenet-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: imagenet-classifier-mlflow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python mnist-batch.ipynb mnist-batch.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/mnist-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: mnist-batch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: sdk-deploy-and-test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-pipelines/hello-batch
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: sdk-deploy-and-test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-pipelines/training-with-components
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: sdk-deploy-and-test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-custom-container-multimodel.ipynb online-endpoints-custom-container-multimodel.output.ipynb
working-directory: sdk/python/endpoints/online/custom-container
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-custom-container-multimodel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-custom-container.ipynb online-endpoints-custom-container.output.ipynb
working-directory: sdk/python/endpoints/online/custom-container
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-custom-container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-triton-cc.ipynb online-endpoints-triton-cc.output.ipynb
working-directory: sdk/python/endpoints/online/custom-container/triton
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-triton-cc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python kubernetes-online-endpoints-safe-rollout.ipynb kubernetes-online-endpoints-safe-rollout.output.ipynb
working-directory: sdk/python/endpoints/online/kubernetes
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: kubernetes-online-endpoints-safe-rollout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python kubernetes-online-endpoints-simple-deployment.ipynb kubernetes-online-endpoints-simple-deployment.output.ipynb
working-directory: sdk/python/endpoints/online/kubernetes
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: kubernetes-online-endpoints-simple-deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python 1_langchain_basic_deploy.ipynb 1_langchain_basic_deploy.output.ipynb
working-directory: sdk/python/endpoints/online/llm/langchain
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: 1_langchain_basic_deploy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python 1_semantic_http_server.ipynb 1_semantic_http_server.output.ipynb
working-directory: sdk/python/endpoints/online/llm/semantic-kernel
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: 1_semantic_http_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-managed-identity-sai.ipynb online-endpoints-managed-identity-sai.output.ipynb
working-directory: sdk/python/endpoints/online/managed/managed-identities
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-managed-identity-sai
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-managed-identity-uai.ipynb online-endpoints-managed-identity-uai.output.ipynb
working-directory: sdk/python/endpoints/online/managed/managed-identities
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-managed-identity-uai
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-binary-payloads.ipynb online-endpoints-binary-payloads.output.ipynb
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-binary-payloads
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-inference-schema.ipynb online-endpoints-inference-schema.output.ipynb
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-inference-schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-keyvault.ipynb online-endpoints-keyvault.output.ipynb
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-keyvault
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-multimodel.ipynb online-endpoints-multimodel.output.ipynb
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-multimodel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-openapi.ipynb online-endpoints-openapi.output.ipynb
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-openapi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-safe-rollout.ipynb online-endpoints-safe-rollout.output.ipynb
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-safe-rollout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-simple-deployment.ipynb online-endpoints-simple-deployment.output.ipynb
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-simple-deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-deploy-mlflow-model-with-script.ipynb online-endpoints-deploy-mlflow-model-with-script.output.ipynb
working-directory: sdk/python/endpoints/online/mlflow
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-deploy-mlflow-model-with-script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-deploy-mlflow-model.ipynb online-endpoints-deploy-mlflow-model.output.ipynb
working-directory: sdk/python/endpoints/online/mlflow
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-deploy-mlflow-model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python online-endpoints-triton.ipynb online-endpoints-triton.output.ipynb
working-directory: sdk/python/endpoints/online/triton/single-model
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-triton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python openai_completions_finetune.ipynb openai_completions_finetune.output.ipynb
working-directory: sdk/python/foundation-models/azure_openai/oai-v1
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: openai_completions_finetune
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python question-answering-online-endpoint.ipynb question-answering-online-endpoint.output.ipynb
working-directory: sdk/python/foundation-models/huggingface/inference/question-answering
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: question-answering-online-endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python token-classification-online-endpoint.ipynb token-classification-online-endpoint.output.ipynb
working-directory: sdk/python/foundation-models/huggingface/inference/token-classification
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: token-classification-online-endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python translation-online-endpoint.ipynb translation-online-endpoint.output.ipynb
working-directory: sdk/python/foundation-models/huggingface/inference/translation
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: translation-online-endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
papermill -k python zero-shot-classification-online-endpoint.ipynb zero-shot-classification-online-endpoint.output.ipynb
working-directory: sdk/python/foundation-models/huggingface/inference/zero-shot-classification
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: zero-shot-classification-online-endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
papermill -k python distillation_chat_completion.ipynb distillation_chat_completion.output.ipynb
working-directory: sdk/python/foundation-models/system/distillation/nli
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: distillation_chat_completion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
papermill -k python import_model_into_registry.ipynb import_model_into_registry.output.ipynb
working-directory: sdk/python/foundation-models/system/import
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: import_model_into_registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
papermill -k python import_model_into_registry.ipynb import_model_into_registry.output.ipynb -p MODEL_ID "${{ env.MODEL_ID }}" -p TASK_NAME "${{ env.TASK_NAME }}"
working-directory: sdk/python/foundation-models/system/import
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: import_model_into_registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
papermill -k python import_model_into_registry.ipynb import_model_into_registry.output.ipynb -p MODEL_ID "${{ env.MODEL_ID }}" -p TASK_NAME "${{ env.TASK_NAME }}"
working-directory: sdk/python/foundation-models/system/import
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: import_model_into_registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
--metric_name AUC_weighted \
working-directory: sdk/python/jobs/automl-standalone-jobs/automl-classification-task-bankmarketing
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: automl-classification-task-bankmarketing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ jobs:
papermill -k python -p compute_name automl-cpu-cluster automl-forecasting-distributed-tcn.ipynb automl-forecasting-distributed-tcn.output.ipynb
working-directory: sdk/python/jobs/automl-standalone-jobs/automl-forecasting-distributed-tcn
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: automl-forecasting-distributed-tcn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
--check warning \
working-directory: sdk/python/jobs/automl-standalone-jobs/automl-forecasting-github-dau
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: auto-ml-forecasting-github-dau
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
--absolute_maximum_score 1.0 \
working-directory: sdk/python/jobs/automl-standalone-jobs/automl-forecasting-orange-juice-sales
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: automl-forecasting-orange-juice-sales-mlflow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
papermill -k python -p compute_name automl-cpu-cluster automl-forecasting-recipe-univariate-experiment-settings.ipynb automl-forecasting-recipe-univariate-experiment-settings.output.ipynb
working-directory: sdk/python/jobs/automl-standalone-jobs/automl-forecasting-recipes-univariate
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: ./.github/actions/upload-artifact
with:
name: automl-forecasting-recipe-univariate-experiment-settings
Expand Down
Loading

0 comments on commit 3146a5f

Please sign in to comment.