diff --git a/cli/jobs/basics/hello-pipeline-io.yml b/cli/jobs/basics/hello-pipeline-io.yml index 8b239dedec9..a8650ed210d 100644 --- a/cli/jobs/basics/hello-pipeline-io.yml +++ b/cli/jobs/basics/hello-pipeline-io.yml @@ -4,13 +4,13 @@ display_name: hello_pipeline_io jobs: hello_job: command: echo "hello" && echo "world" > ${{outputs.world_output}}/world.txt - environment: azureml:AzureML-sklearn-1.0-ubuntu20.04-py38-cpu@latest + environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest compute: azureml:cpu-cluster outputs: world_output: world_job: command: cat ${{inputs.world_input}}/world.txt - environment: azureml:AzureML-sklearn-1.0-ubuntu20.04-py38-cpu:1 + environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest compute: azureml:cpu-cluster inputs: world_input: ${{parent.jobs.hello_job.outputs.world_output}} diff --git a/cli/jobs/basics/hello-pipeline-settings.yml b/cli/jobs/basics/hello-pipeline-settings.yml index fef7c6d415f..d4067678624 100644 --- a/cli/jobs/basics/hello-pipeline-settings.yml +++ b/cli/jobs/basics/hello-pipeline-settings.yml @@ -8,7 +8,7 @@ settings: jobs: hello_job: command: echo 202204190 & echo "hello" - environment: azureml:AzureML-sklearn-1.0-ubuntu20.04-py38-cpu:1 + environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest world_job: command: echo 202204190 & echo "hello" - environment: azureml:AzureML-sklearn-1.0-ubuntu20.04-py38-cpu:1 \ No newline at end of file + environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest diff --git a/cli/jobs/basics/hello-sweep.yml b/cli/jobs/basics/hello-sweep.yml index 7821d2fc86d..166e3c61e18 100644 --- a/cli/jobs/basics/hello-sweep.yml +++ b/cli/jobs/basics/hello-sweep.yml @@ -7,7 +7,7 @@ trial: --B ${{search_space.B}} --C ${{search_space.C}} code: src - environment: azureml:AzureML-sklearn-1.0-ubuntu20.04-py38-cpu@latest + environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest inputs: A: 0.5 sampling_algorithm: random