本文整理汇总了Python中config.PROJECTS.keys方法的典型用法代码示例。如果您正苦于以下问题:Python PROJECTS.keys方法的具体用法?Python PROJECTS.keys怎么用?Python PROJECTS.keys使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类config.PROJECTS
的用法示例。
在下文中一共展示了PROJECTS.keys方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: WebStatus
# 需要导入模块: from config import PROJECTS [as 别名]
# 或者: from config.PROJECTS import keys [as 别名]
c = BuildmasterConfig = {}
c['slavePortnum'] = 9012
from buildbot.status.html import WebStatus
c['status'] = [
WebStatus(http_port=8012, allowForce=True)
]
c['buildbotURL'] = 'http://test-master01.build.mozilla.org:8012/'
from buildbot import manhole
c['manhole'] = manhole.PasswordManhole("tcp:1235:interface=127.0.0.1", "cltbld", "password")
from config import BRANCHES, PROJECTS
# Do everything!
ACTIVE_BRANCHES = BRANCHES.keys()
ACTIVE_PLATFORMS = {'linux64': None, 'win64': None, 'macosx64': None, 'linux-android': None}
ACTIVE_PROJECTS = PROJECTS.keys()
QUEUEDIR = "/dev/shm/queue"
示例2:
# 需要导入模块: from config import PROJECTS [as 别名]
# 或者: from config.PROJECTS import keys [as 别名]
c = BuildmasterConfig = {}
c["slavePortnum"] = 9010
from buildbot.status.html import WebStatus
c["status"] = [WebStatus(http_port=8010, allowForce=True)]
c["buildbotURL"] = "http://preproduction-master.build.mozilla.org:8010/"
from buildbot import manhole
c["manhole"] = manhole.PasswordManhole("tcp:1235:interface=127.0.0.1", "cltbld", "password")
from config import BRANCHES, SLAVES, PROJECTS
ACTIVE_BRANCHES = [b for b in BRANCHES.keys() if b != "mozilla-1.9.1"]
ACTIVE_PROJECTS = [p for p in PROJECTS.keys() if p != "fuzzing"]
ACTIVE_RELEASE_BRANCHES = []
ACTIVE_MOBILE_RELEASE_BRANCHES = []
# Set up our fast slaves
# No need to reload, this is reloaded by builder_master.cfg
import buildbotcustom.misc
buildbotcustom.misc.fastRegexes.extend(["linux-ix-", "linux64-ix-", "xserve"])
ENABLE_RELEASES = False
RESERVED_SLAVES = None
QUEUEDIR = "/dev/shm/queue"