Azure / Azure/azureml-examples

It seems that CR in command definition need "\" sign now for multi-line command

Open
#1,991 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
2k
Forks
1.7k
Avg merge
18h 18m
Merged PRs (30d)
2

Description

### Operating System

Linux

### Version Information

az version --output=yaml
azure-cli: 2.41.0
azure-cli-core: 2.41.0
azure-cli-telemetry: 1.0.8
extensions:
account: 0.2.5
aks-preview: 0.5.113
application-insights: 0.1.16
appservice-kube: 0.2.2
arcdata: 1.4.7
azure-firewall: 0.14.4
azure-iot: 0.18.0
connectedk8s: 1.3.5
containerapp: 0.3.13
costmanagement: 0.2.1
customlocation: 0.1.3
elastic-san: 0.1.0
fleet: 0.1.1
front-door: 1.0.17
ip-group: 0.1.2
k8s-configuration: 1.7.0
k8s-extension: 1.3.6
k8sconfiguration: 0.2.4
kusto: 0.5.0
log-analytics: 0.2.2
ml: 2.12.0
redisenterprise: 0.1.2
serial-console: 0.1.3
ssh: 1.1.3
storage-preview: 0.8.3
subscription: 0.1.5
virtual-wan: 0.2.14

### Steps to reproduce

Current examples do not use \ to indicate multi-line command. This seemed to work in the past but seem not to any more.

https://github.com/Azure/azureml-examples/blob/main/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/train.yml#L22

### Expected behavior

Command should work

### Actual behavior

Command fails as each line is treated as separate command

### Addition information

"\" needs to be added to end of each line make this single multi-line command.

Contributor guide

Open the contributing guide

Research direction

Start at cli/jobs/pipelines-with-components/nyc_taxi_data_regression/train.yml around line 22 and reproduce the command failure on Linux with the reported Azure CLI version. Check how the multiline command is represented and verify that the example runs as one command rather than treating each line separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, yaml
Domain
cli, machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.