Skip to content

Commit

Permalink
Update readme to add validate readme to sdk workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
diondrapeck committed Oct 23, 2023
1 parent b93862f commit 26cb40f
Show file tree
Hide file tree
Showing 137 changed files with 711 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/assets/assets-in-registry"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/assets/assets-in-registry"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/sdk-assets-component-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/assets/component"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/sdk-assets-data-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/sdk-assets-data-working_with_mltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/sdk-assets-environment-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/assets/environment"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/sdk-assets-model-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/assets/model"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/batch/deploy-models/custom-outputs-parquet"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -65,7 +70,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "custom-output-batch.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python custom-output-batch.ipynb custom-output-batch.output.ipynb --log-output
papermill -k python custom-output-batch.ipynb custom-output-batch.output.ipynb
working-directory: sdk/python/endpoints/batch/deploy-models/custom-outputs-parquet
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/batch/deploy-models/heart-classifier-mlflow"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -67,7 +72,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "mlflow-for-batch-tabular.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python mlflow-for-batch-tabular.ipynb mlflow-for-batch-tabular.output.ipynb --log-output
papermill -k python mlflow-for-batch-tabular.ipynb mlflow-for-batch-tabular.output.ipynb
working-directory: sdk/python/endpoints/batch/deploy-models/heart-classifier-mlflow
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/batch/deploy-models/huggingface-text-summarization"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -67,7 +72,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "text-summarization-batch.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python text-summarization-batch.ipynb text-summarization-batch.output.ipynb --log-output
papermill -k python text-summarization-batch.ipynb text-summarization-batch.output.ipynb
working-directory: sdk/python/endpoints/batch/deploy-models/huggingface-text-summarization
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/batch/deploy-models/imagenet-classifier"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -67,7 +72,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "imagenet-classifier-mlflow.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python imagenet-classifier-mlflow.ipynb imagenet-classifier-mlflow.output.ipynb --log-output
papermill -k python imagenet-classifier-mlflow.ipynb imagenet-classifier-mlflow.output.ipynb
working-directory: sdk/python/endpoints/batch/deploy-models/imagenet-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/batch/deploy-models/mnist-classifier"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -65,7 +70,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "mnist-batch.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python mnist-batch.ipynb mnist-batch.output.ipynb --log-output
papermill -k python mnist-batch.ipynb mnist-batch.output.ipynb
working-directory: sdk/python/endpoints/batch/deploy-models/mnist-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -65,7 +70,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "sdk-deploy-and-test.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb --log-output
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb
working-directory: sdk/python/endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/batch/deploy-pipelines/hello-batch"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -65,7 +70,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "sdk-deploy-and-test.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb --log-output
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb
working-directory: sdk/python/endpoints/batch/deploy-pipelines/hello-batch
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/batch/deploy-pipelines/training-with-components"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -65,7 +70,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "sdk-deploy-and-test.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb --log-output
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb
working-directory: sdk/python/endpoints/batch/deploy-pipelines/training-with-components
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/custom-container"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/custom-container"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/custom-container/triton"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/kubernetes"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/kubernetes"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/llm/langchain"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/llm/semantic-kernel"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/managed/managed-identities"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/managed/managed-identities"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/managed"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/managed"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
bash setup.sh
working-directory: sdk/python
continue-on-error: true
- name: validate readme
run: |
bash check-readme.sh "${{ github.workspace }}" "${{ github.workspace }}/sdk/python/endpoints/online/managed"
working-directory: infra/bootstrapping
continue-on-error: false
- name: setup-cli
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Loading

0 comments on commit 26cb40f

Please sign in to comment.