Skip to content

Commit f2119b7

Browse files
authored
Fixing git workflow for cli/standalone/multi-label image classification (Azure#1904)
* renaming multi-label image classification git workflow; correcting yaml name * Updates in github workflows from PR (Azure#1879) after running cli/readme.py * Revert "Updates in github workflows from PR (Azure#1879) after running cli/readme.py" This reverts commit 3bdee93. * Updates in github workflows after running cli/readme.py * Updates in github workflows for model/job-model-as-output and model/job-model-as-input * Removing workflows related to model-job-model-as-input/output
1 parent 0722b30 commit f2119b7

10 files changed

+80
-24
lines changed
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Any manual changes to this file may cause incorrect behavior.
44
# Any manual changes will be overwritten if the code is regenerated.
55

6-
name: cli-jobs-automl-standalone-jobs-cli-automl-image-classification-multilablel-task-fridge-items-cli-automl-image-classification-multilabel-task-fridge-items
6+
name: cli-jobs-automl-standalone-jobs-cli-automl-image-classification-multilabel-task-fridge-items-cli-automl-image-classification-multilabel-task-fridge-items
77
on:
88
workflow_dispatch:
99
schedule:
@@ -12,9 +12,9 @@ on:
1212
branches:
1313
- main
1414
paths:
15-
- cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilablel-task-fridge-items/**
15+
- cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/**
1616
- infra/**
17-
- .github/workflows/cli-jobs-automl-standalone-jobs-cli-automl-image-classification-multilablel-task-fridge-items-cli-automl-image-classification-multilabel-task-fridge-items.yml
17+
- .github/workflows/cli-jobs-automl-standalone-jobs-cli-automl-image-classification-multilabel-task-fridge-items-cli-automl-image-classification-multilabel-task-fridge-items.yml
1818
- cli/setup.sh
1919
concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -51,4 +51,4 @@ jobs:
5151
bash "${{ github.workspace }}/sdk/python/setup.sh"
5252
python prepare_data.py --subscription $SUBSCRIPTION_ID --group $RESOURCE_GROUP_NAME --workspace $WORKSPACE_NAME
5353
bash -x ../../../run-job.sh cli-automl-image-classification-multilabel-task-fridge-items.yml
54-
working-directory: cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilablel-task-fridge-items
54+
working-directory: cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items

.github/workflows/cli-responsible-ai-cli-responsibleaidashboard-housing-classification-cli-responsibleaidashboard-housing-classification.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# This code is autogenerated.
2+
# Code is generated by running custom script: python3 readme.py
3+
# Any manual changes to this file may cause incorrect behavior.
4+
# Any manual changes will be overwritten if the code is regenerated.
5+
16
name: cli-responsible-ai-cli-responsibleaidashboard-housing-classification-cli-responsibleaidashboard-housing-classification
27
on:
38
workflow_dispatch:
@@ -6,7 +11,6 @@ on:
611
pull_request:
712
branches:
813
- main
9-
- sdk-preview
1014
paths:
1115
- cli/responsible-ai/cli-responsibleaidashboard-housing-classification/**
1216
- infra/**

.github/workflows/cli-responsible-ai-cli-responsibleaidashboard-programmer-regression-cli-responsibleaidashboard-programmer-regression.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# This code is autogenerated.
2+
# Code is generated by running custom script: python3 readme.py
3+
# Any manual changes to this file may cause incorrect behavior.
4+
# Any manual changes will be overwritten if the code is regenerated.
5+
16
name: cli-responsible-ai-cli-responsibleaidashboard-programmer-regression-cli-responsibleaidashboard-programmer-regression
27
on:
38
workflow_dispatch:
@@ -6,7 +11,6 @@ on:
611
pull_request:
712
branches:
813
- main
9-
- sdk-preview
1014
paths:
1115
- cli/responsible-ai/cli-responsibleaidashboard-programmer-regression/**
1216
- infra/**

.github/workflows/cli-scripts-create-registries.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# This code is autogenerated.
2+
# Code is generated by running custom script: python3 readme.py
3+
# Any manual changes to this file may cause incorrect behavior.
4+
# Any manual changes will be overwritten if the code is regenerated.
5+
16
name: cli-scripts-create-registries
27
on:
38
workflow_dispatch:
@@ -6,7 +11,6 @@ on:
611
pull_request:
712
branches:
813
- main
9-
- sdk-preview
1014
paths:
1115
- cli/create-registries.sh
1216
- infra/**
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
1+
# This code is autogenerated.
2+
# Code is generated by running custom script: python3 readme.py
3+
# Any manual changes to this file may cause incorrect behavior.
4+
# Any manual changes will be overwritten if the code is regenerated.
5+
16
name: cli-scripts-deploy-moe-binary-payloads
27
on:
38
workflow_dispatch:
49
schedule:
5-
- cron: "0 0/4 * * *"
10+
- cron: "0 0/8 * * *"
611
pull_request:
712
branches:
813
- main
9-
- sdk-preview
1014
paths:
1115
- cli/deploy-moe-binary-payloads.sh
16+
- infra/**
1217
- .github/workflows/cli-scripts-deploy-moe-binary-payloads.yml
1318
- cli/setup.sh
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
21+
cancel-in-progress: true
1422
jobs:
1523
build:
1624
runs-on: ubuntu-latest
@@ -20,11 +28,22 @@ jobs:
2028
- name: azure login
2129
uses: azure/login@v1
2230
with:
23-
creds: ${{secrets.AZ_CREDS}}
24-
- name: setup
25-
run: bash setup.sh
31+
creds: ${{secrets.AZUREML_CREDENTIALS}}
32+
- name: bootstrap resources
33+
run: |
34+
bash bootstrap.sh
35+
working-directory: infra
36+
continue-on-error: false
37+
- name: setup-cli
38+
run: |
39+
source "${{ github.workspace }}/infra/sdk_helpers.sh";
40+
source "${{ github.workspace }}/infra/init_environment.sh";
41+
bash setup.sh
2642
working-directory: cli
2743
continue-on-error: true
2844
- name: test script script
29-
run: set -e; bash -x deploy-moe-binary-payloads.sh
45+
run: |
46+
source "${{ github.workspace }}/infra/sdk_helpers.sh";
47+
source "${{ github.workspace }}/infra/init_environment.sh";
48+
set -e; bash -x deploy-moe-binary-payloads.sh
3049
working-directory: cli

.github/workflows/cli-scripts-deploy-moe-inference-schema.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# This code is autogenerated.
2+
# Code is generated by running custom script: python3 readme.py
3+
# Any manual changes to this file may cause incorrect behavior.
4+
# Any manual changes will be overwritten if the code is regenerated.
5+
16
name: cli-scripts-deploy-moe-inference-schema
27
on:
38
workflow_dispatch:
@@ -6,7 +11,6 @@ on:
611
pull_request:
712
branches:
813
- main
9-
- sdk-preview
1014
paths:
1115
- cli/deploy-moe-inference-schema.sh
1216
- infra/**

.github/workflows/cli-scripts-deploy-moe-keyvault.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# This code is autogenerated.
2+
# Code is generated by running custom script: python3 readme.py
3+
# Any manual changes to this file may cause incorrect behavior.
4+
# Any manual changes will be overwritten if the code is regenerated.
5+
16
name: cli-scripts-deploy-moe-keyvault
27
on:
38
workflow_dispatch:
@@ -6,7 +11,6 @@ on:
611
pull_request:
712
branches:
813
- main
9-
- sdk-preview
1014
paths:
1115
- cli/deploy-moe-keyvault.sh
1216
- infra/**
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
1+
# This code is autogenerated.
2+
# Code is generated by running custom script: python3 readme.py
3+
# Any manual changes to this file may cause incorrect behavior.
4+
# Any manual changes will be overwritten if the code is regenerated.
5+
16
name: cli-scripts-deploy-moe-openapi
27
on:
38
workflow_dispatch:
49
schedule:
5-
- cron: "0 0/4 * * *"
10+
- cron: "0 0/8 * * *"
611
pull_request:
712
branches:
813
- main
9-
- sdk-preview
1014
paths:
1115
- cli/deploy-moe-openapi.sh
16+
- infra/**
1217
- .github/workflows/cli-scripts-deploy-moe-openapi.yml
1318
- cli/setup.sh
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
21+
cancel-in-progress: true
1422
jobs:
1523
build:
1624
runs-on: ubuntu-latest
@@ -20,11 +28,22 @@ jobs:
2028
- name: azure login
2129
uses: azure/login@v1
2230
with:
23-
creds: ${{secrets.AZ_CREDS}}
24-
- name: setup
25-
run: bash setup.sh
31+
creds: ${{secrets.AZUREML_CREDENTIALS}}
32+
- name: bootstrap resources
33+
run: |
34+
bash bootstrap.sh
35+
working-directory: infra
36+
continue-on-error: false
37+
- name: setup-cli
38+
run: |
39+
source "${{ github.workspace }}/infra/sdk_helpers.sh";
40+
source "${{ github.workspace }}/infra/init_environment.sh";
41+
bash setup.sh
2642
working-directory: cli
2743
continue-on-error: true
2844
- name: test script script
29-
run: set -e; bash -x deploy-moe-openapi.sh
45+
run: |
46+
source "${{ github.workspace }}/infra/sdk_helpers.sh";
47+
source "${{ github.workspace }}/infra/init_environment.sh";
48+
set -e; bash -x deploy-moe-openapi.sh
3049
working-directory: cli

.github/workflows/cli-scripts-deploy-safe-rollout-kubernetes-online-endpoints.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
source "${{ github.workspace }}/infra/sdk_helpers.sh";
4747
source "${{ github.workspace }}/infra/init_environment.sh";
4848
set -e; bash -x deploy-safe-rollout-kubernetes-online-endpoints.sh
49-
working-directory: cli
49+
working-directory: cli

cli/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ path|status|description
228228
[assets/environment/docker-context.yml](assets/environment/docker-context.yml)|[![assets/environment/docker-context](https://github.com/Azure/azureml-examples/workflows/cli-assets-environment-docker-context/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/cli-assets-environment-docker-context.yml)|*no description*
229229
[assets/environment/docker-image-plus-conda.yml](assets/environment/docker-image-plus-conda.yml)|[![assets/environment/docker-image-plus-conda](https://github.com/Azure/azureml-examples/workflows/cli-assets-environment-docker-image-plus-conda/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/cli-assets-environment-docker-image-plus-conda.yml)|Environment created from a Docker image plus Conda environment.
230230
[assets/environment/docker-image.yml](assets/environment/docker-image.yml)|[![assets/environment/docker-image](https://github.com/Azure/azureml-examples/workflows/cli-assets-environment-docker-image/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/cli-assets-environment-docker-image.yml)|Environment created from a Docker image.
231-
[assets/model/job-model-as-input.yml](assets/model/job-model-as-input.yml)|[![assets/model/job-model-as-input](https://github.com/Azure/azureml-examples/workflows/cli-assets-model-job-model-as-input/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/cli-assets-model-job-model-as-input.yml)|*no description*
232-
[assets/model/job-model-as-output.yml](assets/model/job-model-as-output.yml)|[![assets/model/job-model-as-output](https://github.com/Azure/azureml-examples/workflows/cli-assets-model-job-model-as-output/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/cli-assets-model-job-model-as-output.yml)|*no description*
233231
[assets/model/local-file.yml](assets/model/local-file.yml)|[![assets/model/local-file](https://github.com/Azure/azureml-examples/workflows/cli-assets-model-local-file/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/cli-assets-model-local-file.yml)|Model created from local file.
234232
[assets/model/local-mlflow.yml](assets/model/local-mlflow.yml)|[![assets/model/local-mlflow](https://github.com/Azure/azureml-examples/workflows/cli-assets-model-local-mlflow/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/cli-assets-model-local-mlflow.yml)|Model created from local MLflow model directory.
235233

0 commit comments

Comments
 (0)