Actions
action #176973
closedAllow block style for items in yaml SCHEDULE size:s
Start date:
2025-02-11
Due date:
2025-02-26
% Done:
0%
Estimated time:
Description
Found a strange behavior when try to list items in SCHEDULE
using block style instead of a single line in yaml :
it seems that the last item is not read correctly and cause an error.
This works fine:
SCHEDULE: yam/agama/boot_agama,yam/agama/agama_auto,installation/grub_test,installation/first_boot,yam/validate/validate_first_user,console/verify_separate_home
but this not:
SCHEDULE: >
yam/agama/boot_agama
yam/agama/agama_auto
installation/grub_test
installation/first_boot
yam/validate/validate_product
yam/validate/validate_first_user
console/verify_separate_home
There is a workaround proposed by @nicksinger and @tinita by >-
:
SCHEDULE: >-
...
See:
Updated by tinita 18 days ago
For more details: block style is actually already allowed.
>
is the folded block style, which joins all lines together with spaces.
The problem is the trailing line break at the end, which is removed by using the chomp
operator >-
.
https://www.yaml.info/learn/quote.html#chomp
Updated by openqa_review 17 days ago
- Due date set to 2025-02-26
Setting due date based on mean cycle time of SUSE QE Tools
Actions