diff --git a/BuildBotLib/buildBotShedulers.py b/BuildBotLib/buildBotShedulers.py index 836f5d1..39c74e1 100644 --- a/BuildBotLib/buildBotShedulers.py +++ b/BuildBotLib/buildBotShedulers.py @@ -1,6 +1,7 @@ # This Python file uses the following encoding: utf-8 from BuildBotLib.buildBotModule import BuildBotModule from buildbot.plugins import schedulers +from buildbot.plugins import util class BuildBotShedulers(BuildBotModule): @@ -36,6 +37,8 @@ class BuildBotShedulers(BuildBotModule): ] buildersDeployCode = ['DocsGenerator'] + buildersReleaseCode = ['prodDeployer'] + buildersRepo = ['RepoGen'] self.masterConf['schedulers'] = self.shedulers @@ -66,6 +69,20 @@ class BuildBotShedulers(BuildBotModule): treeStableTimer=60 ), + schedulers.SingleBranchScheduler( + name='release', + change_filter=util.ChangeFilter(branch="prod") + builderNames=buildersReleaseCode, + properties={ + 'clean': True, + 'test': True, + 'release': True, + 'deploy': True, + 'copyFolder': 'Distro' + }, + treeStableTimer=60 + ), + schedulers.Triggerable(name="repogen", builderNames=buildersRepo) ] diff --git a/BuildBotLib/buildBotWorkers.py b/BuildBotLib/buildBotWorkers.py index a39e3bc..457d50b 100644 --- a/BuildBotLib/buildBotWorkers.py +++ b/BuildBotLib/buildBotWorkers.py @@ -32,6 +32,7 @@ class BuildBotWorkers(BuildBotModule): worker.Worker("RepoGen", password), worker.Worker("Wasm32Builder", password), worker.Worker("DocsGenerator", password), + worker.Worker("prodDeployer", password), ] # 'protocols' contains information