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 okurz about 1 month ago
- Status changed from New to In Progress
- Assignee set to nicksinger
- Target version set to Ready
Updated by tinita about 1 month 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 about 1 month ago
- Due date set to 2025-02-26
Setting due date based on mean cycle time of SUSE QE Tools
Updated by livdywan about 1 month ago
- Subject changed from Allow block style for items in yaml SCHEDULE to Allow block style for items in yaml SCHEDULE size:s
Updated by nicksinger about 1 month ago
- Status changed from In Progress to Resolved
Actions