[Scummvm-git-logs] scummvm-sites director-buildbot -> 875908026640cfba7f4b720f9b45ee589d159c6e
rvanlaar
noreply at scummvm.org
Sun Jan 29 13:01:36 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:
8759080266 DIRECTOR-BUILDBOT: config maxTime and timeout
Commit: 875908026640cfba7f4b720f9b45ee589d159c6e
https://github.com/scummvm/scummvm-sites/commit/875908026640cfba7f4b720f9b45ee589d159c6e
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2023-01-29T14:00:06+01:00
Commit Message:
DIRECTOR-BUILDBOT: config maxTime and timeout
Adds environment variables:
MAX_TIME: the maximum time in seconds for a test step
TIMEOUT: the maximum time in seconds without test output
Changed paths:
director/env.py
director/steps.py
diff --git a/director/env.py b/director/env.py
index e973771..39abdf8 100644
--- a/director/env.py
+++ b/director/env.py
@@ -13,6 +13,8 @@ default_vars = {
"BUILDBOT_URL": "http://localhost:5000/",
"DISCORD_WEBHOOK": False,
"MAX_BUILDS": 3,
+ "TIMEOUT": 20,
+ "MAX_TIME": 30,
# Github
"GITHUB_CLIENT_ID": "",
"GITHUB_CLIENT_SECRET": "",
diff --git a/director/steps.py b/director/steps.py
index e606fee..7a81e70 100644
--- a/director/steps.py
+++ b/director/steps.py
@@ -8,6 +8,7 @@ from buildbot.process.results import FAILURE, worst_status
from twisted.internet import defer
from .build_factory import default_env, master_file, worker_file
+from .env import settings
download_step = steps.FileDownload(
mastersrc=master_file,
@@ -157,8 +158,8 @@ class GenerateStartMovieCommands(buildstep.ShellMixin, steps.BuildStep):
descriptionDone=name,
command=self.generate_command(name),
env=default_env,
- timeout=20,
- maxTime=30,
+ timeout=settings["TIMEOUT"],
+ maxTime=settings["MAX_TIME"],
interruptSignal="QUIT",
logEnviron=False,
)
More information about the Scummvm-git-logs
mailing list