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

Revert "Add readme validation step" #2951

Merged
merged 1 commit into from
Jan 12, 2024
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 1 addition & 24 deletions .github/workflows/cli-assets-component-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,32 +41,9 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/component"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
log_output=$(az ml component create -f assets/component/pipeline.yml 2>&1)
echo "$log_output" > create-asset.log
cat create-asset.log
az ml component create -f assets/component/pipeline.yml
working-directory: cli
- name: Determine Failure Reason
run: |
failure_reason="N/A"
if [ "${{ job.status }}" == "failure" ]; then
if grep -q "ResourceNotReady" create-asset.log; then
failure_reason = "ResourceNotReady"
elif grep -q "quota" create-asset.log; then
failure_reason="QuotaIssue"
elif grep -q "ParentResourceNotFound" create-asset.log; then
failure_reason="ParentResourceNotFound"
else
failure_reason="UncategorizedFailure"
fi
fi
echo "FAILURE_REASON=$failure_reason" >> $GITHUB_ENV
working-directory: cli
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-component-train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/component"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-cloud-file-https.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-cloud-file-wasbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-cloud-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-cloud-folder-https.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-cloud-folder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-cloud-mltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-iris-csv-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-local-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-local-folder-sampledata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-local-folder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-local-mltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-data-public-file-https.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/data"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-environment-docker-context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/environment"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-environment-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/environment"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-model-local-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/model"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli-assets-model-local-mlflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/assets/model"
working-directory: infra/bootstrapping
continue-on-error: false
- name: create asset
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/endpoints/batch/deploy-models/custom-outputs-parquet"
working-directory: infra/bootstrapping
continue-on-error: false
- name: delete endpoint if existing
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -73,4 +68,4 @@ jobs:
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
az ml batch-endpoint delete -n tomoutputsparquetendpoint8741 -y
working-directory: cli
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/endpoints/batch/deploy-models/heart-classifier-mlflow"
working-directory: infra/bootstrapping
continue-on-error: false
- name: delete endpoint if existing
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -66,4 +61,4 @@ jobs:
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
az ml batch-endpoint delete -n tclassifiermlflowendpoint3191 -y
working-directory: cli
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/endpoints/batch/deploy-models/huggingface-text-summarization"
working-directory: infra/bootstrapping
continue-on-error: false
- name: delete endpoint if existing
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -73,4 +68,4 @@ jobs:
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
az ml batch-endpoint delete -n textsummarizationendpoint2742 -y
working-directory: cli
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/endpoints/batch/deploy-models/imagenet-classifier"
working-directory: infra/bootstrapping
continue-on-error: false
- name: delete endpoint if existing
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -66,4 +61,4 @@ jobs:
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
az ml batch-endpoint delete -n imagenetclassifierendpoint3948 -y
working-directory: cli
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/endpoints/batch/deploy-models/mnist-classifier"
working-directory: infra/bootstrapping
continue-on-error: false
- name: delete endpoint if existing
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -66,4 +61,4 @@ jobs:
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
source "${{ github.workspace }}/infra/bootstrapping/init_environment.sh";
az ml batch-endpoint delete -n lsmnistclassifierendpoint9980 -y
working-directory: cli
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing"
working-directory: infra/bootstrapping
continue-on-error: false
- name: delete endpoint if existing
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -73,4 +68,4 @@ jobs:
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
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/endpoints/batch/deploy-pipelines/hello-batch"
working-directory: infra/bootstrapping
continue-on-error: false
- name: delete endpoint if existing
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -73,4 +68,4 @@ jobs:
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
working-directory: cli
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
bash setup.sh
working-directory: cli
continue-on-error: true
- name: validate readme
run: |
python check-readme.py "${{ github.workspace }}/cli/endpoints/batch/deploy-pipelines/training-with-components"
working-directory: infra/bootstrapping
continue-on-error: false
- name: delete endpoint if existing
run: |
source "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh";
Expand All @@ -66,4 +61,4 @@ jobs:
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
working-directory: cli
Loading
Loading