Fix task name truncation in ci_script plugin: use rstrip instead of rsplit#3641
Fix task name truncation in ci_script plugin: use rstrip instead of rsplit#3641ciecierski wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
678a4cc to
6a47f8e
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/6199d890a3d146a8bfc89d15b79823cd ❌ openstack-k8s-operators-content-provider FAILURE in 6m 23s |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/3a7eff0065194ae6aa9f147ed9d3482b ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 02m 53s |
…split
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.
Signed-off-by: Mikołaj Ciecierski <mikolaj.ciecierski@redhat.com>
6a47f8e to
c9dfefe
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b9d3c04e5a5642c7948ced3d85aeedcc ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 39m 09s |
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.
Signed-off-by: Mikołaj Ciecierski mikolaj.ciecierski@redhat.com