Commit 56d8bb6
Fix task name truncation in ci_script plugin: use rstrip instead of rsplit
Using rsplit("_", 1)[0] dropped the last segment when there was no
trailing underscore (e.g. for short ansible task names like "Deploy ceph"
became "deploy").
Use rstrip("_") so we only remove a trailing underscore at the end of string.
Update the script integration test expectations: ci_script_* artifact and log
paths now use the full normalized task-name slug (e.g. ..._failing_script,
..._debug_enabled, ..._chdir_option). Refresh SHA1 checksums for the generated
.sh wrappers and for the chdir task log; other log checksums are unchanged.
Signed-off-by: Mikołaj Ciecierski <mikolaj.ciecierski@redhat.com>1 parent edb4c11 commit 56d8bb6
2 files changed
Lines changed: 16 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
197 | | - | |
| 195 | + | |
198 | 196 | | |
199 | 197 | | |
200 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments