Skip to content

Commit e335ef5

Browse files
authored
Fix ml sample pipeline (Azure#26566)
* Fix ml sample pipeline
1 parent 911d469 commit e335ef5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

eng/pipelines/templates/jobs/trigger-ml-sample-pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
--build-id="$(Build.BuildId)"
7373
7474
- pwsh: |
75-
cat "$(mlrepo)/sdk/setup.sh"
75+
cat "$(mlrepo)/sdk/python/setup.sh"
7676
displayName: Display Updated setup.sh
7777
7878
- template: /eng/common/pipelines/templates/steps/create-pull-request.yml
@@ -82,7 +82,7 @@ jobs:
8282
PRBranchName: test-ml-sdk-version-${{ parameters.ServiceDirectory }}-$(Build.BuildId)
8383
PROwner: Azure
8484
BaseBranchName: main
85-
CommitMsg: "Update sdk/setup.sh to target fresh built azure-ai-ml wheel."
85+
CommitMsg: "Update sdk/python/setup.sh to target fresh built azure-ai-ml wheel."
8686
PRTitle: "SDK Samples Run generated from $(Build.BuildId)"
8787
WorkingDirectory: $(mlrepo)
8888
PRBody: "Check azureml samples against azure-sdk build $(Build.BuildId)."

scripts/devops_tasks/generate_ml_sample_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def replace_test_install_command(content, targeted_urls):
6565
print("Folder for search {}".format(args.wheel_folder))
6666

6767
target_glob = os.path.join(os.path.abspath(args.wheel_folder), "*.whl")
68-
sdk_setup_sh = os.path.join(os.path.abspath(args.ml_root), "sdk", "setup.sh")
68+
sdk_setup_sh = os.path.join(os.path.abspath(args.ml_root), "sdk", "python", "setup.sh")
6969
blob_service_client = BlobServiceClient.from_connection_string(CONNECTION_STRING)
7070
container_client = blob_service_client.get_container_client(DEFAULT_CONTAINER)
7171
to_be_installed = []

0 commit comments

Comments
 (0)