当前位置: 首页>>代码示例>>Python>>正文


Python PROJECTS.keys方法代码示例

本文整理汇总了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"
开发者ID:jhford,项目名称:setup-master.py,代码行数:22,代码来源:production_tests_master_tm01_localconfig.py

示例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"
开发者ID:jhford,项目名称:setup-master.py,代码行数:31,代码来源:preproduction_builder_master_localconfig.py


注:本文中的config.PROJECTS.keys方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。