[Scummvm-git-logs] scummvm-sites director-buildbot -> dfe01cdd226ffafdff6f22162d60bed3aa25cb3e

rvanlaar noreply at scummvm.org
Wed Jan 25 20:59:08 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-sites' repo located at https://github.com/scummvm/scummvm-sites .

Summary:
dfe01cdd22 DIRECTOR-BUILDBOT: max step names to len 50


Commit: dfe01cdd226ffafdff6f22162d60bed3aa25cb3e
    https://github.com/scummvm/scummvm-sites/commit/dfe01cdd226ffafdff6f22162d60bed3aa25cb3e
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2023-01-25T21:57:33+01:00

Commit Message:
DIRECTOR-BUILDBOT: max step names to len 50

Buildbot can only handle names with a maximum of 50 chars.
take the last 49 of the moviename as the step name
49 to be on the safe side.

Changed paths:
    director/targets.py


diff --git a/director/targets.py b/director/targets.py
index 119eacd..dc6315a 100644
--- a/director/targets.py
+++ b/director/targets.py
@@ -96,6 +96,12 @@ def generate_builder(target: TestTarget, workernames: list[str]) -> BuilderConfi
         )
     )
     for moviename in target.movienames:
+        name = moviename
+        if len(name) > 49:
+            # Buildbot can only handle names with a maximum of 50 chars.
+            # take the last 49 of the moviename as the step name
+            # 49 to be on the safe side.
+            name = name[-49:]
         factory.addStep(
             ScummVMTest(
                 name=moviename,




More information about the Scummvm-git-logs mailing list