Changed the command to list installed packages from 'pip list' to 'pip freeze', in order to be able to use the list as input to 'pip install -r'. Changed the NightlyTriggerable test-crawler run back to Nightly, but with a list of hours designed to avoid the test-database load time at ~04:20.
- Legacy-Id: 12113
This commit is contained in:
parent
06c10ff258
commit
08ddacc83b
|
@ -82,7 +82,7 @@ c['schedulers'] = [
|
|||
# Periodic Schedulers
|
||||
Nightly(name="lin_test_old_libs", hour=16, minute=12, branch="trunk", builderNames=["Verify Minimum Libs"],),
|
||||
Nightly(name="lin_test_libs", hour=16, minute=42, branch="trunk", builderNames=["Verify Latest Libs"],),
|
||||
NightlyTriggerable(name="crawler", hour=[5,7,9,11,13,15,17], minute=00, builderNames=["Test-Crawler"],),
|
||||
Nightly(name="crawler", hour=[5,7,9,11,13,15,17], minute=00, branch="trunk", onlyIfChanged=True, builderNames=["Test-Crawler"],),
|
||||
|
||||
# Force schedulers
|
||||
ForceScheduler(name="force_pyflakes", builderNames=["Check PyFlakes"]),
|
||||
|
@ -111,7 +111,6 @@ from buildbot.steps.source.svn import SVN
|
|||
from buildbot.steps.shell import ShellCommand, WarningCountingShellCommand
|
||||
from buildbot.steps.python import PyFlakes
|
||||
from buildbot.steps.python_twisted import RemovePYCs
|
||||
from buildbot.steps.trigger import Trigger
|
||||
#
|
||||
from buildbot.process.properties import Property, Interpolate
|
||||
from buildbot.config import BuilderConfig
|
||||
|
@ -189,7 +188,6 @@ class TestCrawlerShellCommand(WarningCountingShellCommand):
|
|||
|
||||
# If there were any warnings, make the log if lines with warnings
|
||||
# available
|
||||
log = syslog.syslog
|
||||
for key in warnings:
|
||||
if len(warnings[key]) > 0:
|
||||
self.addCompleteLog("%s (%d)" % (key, len(warnings[key])),
|
||||
|
@ -396,15 +394,6 @@ c['builders'].append(BuilderConfig(name="[branch] Test Suite", factory=factory,
|
|||
slavenames=["datatracker_lin_py27_1", "datatracker_lin_py27_2", "datatracker_lin_py27_3"]))
|
||||
c['builders'].append(BuilderConfig(name="[personal] Test Suite", factory=factory, category="3. personal",
|
||||
slavenames=["datatracker_lin_py27_1", "datatracker_lin_py27_2", "datatracker_lin_py27_3"]))
|
||||
|
||||
# For the trunk tests suite only, add a trigger to the test crawler
|
||||
# to the steps above
|
||||
factory.addStep(Trigger(schedulerNames=['crawler'],
|
||||
waitForFinish=False,
|
||||
alwaysUseLatest=True,
|
||||
set_properties={},
|
||||
))
|
||||
|
||||
c['builders'].append(BuilderConfig(name="Test Suite", factory=factory, category="1. trunk",
|
||||
slavenames=["datatracker_lin_py27_1", "datatracker_lin_py27_2", "datatracker_lin_py27_3"]))
|
||||
|
||||
|
@ -555,7 +544,7 @@ factory.addStep(ShellCommand(
|
|||
descriptionDone="list installed pyton modules",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
command=["pip", "list"],
|
||||
command=["pip", "freeze"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="collect static files",
|
||||
|
@ -608,7 +597,7 @@ factory.addStep(ShellCommand(
|
|||
descriptionDone="list installed pyton modules",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
command=["pip", "list"],
|
||||
command=["pip", "freeze"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="collect static files",
|
||||
|
|
Loading…
Reference in a new issue