Added steps to copy in a settings_local and collecting static files to the builders.
- Legacy-Id: 10707
This commit is contained in:
parent
a781df6337
commit
da7f884b6b
|
@ -219,6 +219,12 @@ factory.addStep(ShellCommand(
|
|||
haltOnFailure=True,
|
||||
command=["pip", "install", "-r", "requirements.txt"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="seting up settings_local.py",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
command=["cp", "/home/buildbot/settings_local.py", "./"],
|
||||
))
|
||||
factory.addStep(PyFlakes(
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
|
@ -257,6 +263,19 @@ factory.addStep(ShellCommand(
|
|||
haltOnFailure=True,
|
||||
command=["pip", "install", "-r", "requirements.txt"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="copy settings_local.py",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
command=["cp", "/home/buildbot/settings_local.py", "./"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="collect static files",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=False,
|
||||
flunkOnFailure=False,
|
||||
command=["ietf/manage.py", "collectstatic", "--noinput", ],
|
||||
))
|
||||
factory.addStep(UnitTest(
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
|
@ -285,6 +304,7 @@ factory.addStep(ShellCommand(
|
|||
descriptionDone="svn cleanup",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=False,
|
||||
flunkOnFailure=False,
|
||||
command=["svn", "cleanup"],
|
||||
))
|
||||
factory.addStep(SVN(
|
||||
|
@ -302,6 +322,19 @@ factory.addStep(ShellCommand(
|
|||
haltOnFailure=True,
|
||||
command=["pip", "install", "-r", "requirements.txt"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="copy settings_local.py",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
command=["cp", "/Users/buildbot/settings_local.py", "./"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="collect static files",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=False,
|
||||
flunkOnFailure=False,
|
||||
command=["ietf/manage.py", "collectstatic", "--noinput", ],
|
||||
))
|
||||
factory.addStep(UnitTest(
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
|
@ -334,6 +367,12 @@ factory.addStep(ShellCommand(
|
|||
haltOnFailure=True,
|
||||
command=["pip", "install", "-r", "requirements.txt"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="copy settings_local.py",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
command=["cp", "/home/buildbot/settings_local.py", "./"],
|
||||
))
|
||||
factory.addStep(TestCrawlerShellCommand(
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
|
@ -375,12 +414,25 @@ factory.addStep(ShellCommand(
|
|||
haltOnFailure=True,
|
||||
command=["pip", "install", "--upgrade", "-r", "requirements.txt"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="seting up settings_local.py",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
command=["cp", "/home/buildbot/settings_local.py", "./"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="list installed pyton modules",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
command=["pip", "list"],
|
||||
))
|
||||
factory.addStep(ShellCommand(
|
||||
descriptionDone="collect static files",
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=False,
|
||||
flunkOnFailure=False,
|
||||
command=["ietf/manage.py", "collectstatic", "--noinput", ],
|
||||
))
|
||||
factory.addStep(UnitTest(
|
||||
workdir=Interpolate('build/%(src::branch)s'),
|
||||
haltOnFailure=True,
|
||||
|
|
Loading…
Reference in a new issue