yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #07356
[Branch ~yade-dev/yade/trunk] Rev 2792: buildbot now creates a source targz
------------------------------------------------------------
revno: 2792
committer: Rémi Cailletaud <remi.cailletaud@xxxxxxxxxxx>
branch nick: yade
timestamp: Tue 2011-03-22 18:12:32 +0100
message:
buildbot now creates a source targz
modified:
scripts/build-infrastructure/master.cfg
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'scripts/build-infrastructure/master.cfg'
--- scripts/build-infrastructure/master.cfg 2011-02-16 15:29:40 +0000
+++ scripts/build-infrastructure/master.cfg 2011-03-22 17:12:32 +0000
@@ -135,6 +135,16 @@
alwaysRun=True,
description="cleaning", descriptionDone="clean"))
+tar_wdir = "/tmp/yade"
+f1.addStep(Bzr(repourl=bzrurl, mode="export", workdir=tar_wdir))
+f1.addStep(ShellCommand(workdir="/tmp",command=["tar", "cvzf", "yade-src.tgz", tar_wdir]))
+f1.addStep(FileUpload(slavesrc="/tmp/yade-src.tgz",
+ masterdest=WithProperties("/var/www/source/yade_r%(got_revision)s.tgz")))
+f1.addStep(MasterShellCommand(command=["ln", "-sf", WithProperties("/var/www/source/yade_r%(got_revision)s.tgz") ,"/var/www/source/yade_latest_trunk.tgz"]))
+f1.addStep(MasterShellCommand(command="chmod -R a-x+rX /var/www/source"))
+
+
+
b1 = {'name': "yade-full",
'slavenames': ["r0calcul5", "r0calcul8", "r0calcul9", "r0calcul10"],
'builddir': "yade-full",
@@ -168,7 +178,7 @@
# c['status'].append(html.WebStatus(http_port=8010,allowForce=True))
from buildbot.status import html
-c['status'].append(html.WebStatus(http_port=8010))
+c['status'].append(html.WebStatus(http_port=8010,allowForce=True))
from zope.interface import implements
from buildbot.interfaces import IEmailLookup
@@ -195,21 +205,21 @@
extraRecipients=["yade-dev@xxxxxxxxxxxxxxxxxxx"],
sendToInterestedUsers=False))
-from buildbot.status import words
-irc = words.IRC("chat.eu.freenode.net", "ybb",
- channels=["#yade-dev"],
- port=8000,
- password="1MotDePasse!",
- notify_events={
- 'started': 1,
- 'finished': 1,
- 'exception': 1,
- 'successToFailure': 1,
- 'failureToSuccess': 1,
- })
-c['status'].append(irc)
-
-
+#from buildbot.status import words
+#irc = words.IRC("chat.eu.freenode.net", "ybb",
+# channels=["#yade-dev"],
+# port=8000,
+# password="1MotDePasse!",
+# notify_events={
+# 'started': 1,
+# 'finished': 1,
+# 'exception': 1,
+# 'successToFailure': 1,
+# 'failureToSuccess': 1,
+# })
+#c['status'].append(irc)
+#
+#
#c['status'].append(mail.MailNotifier(fromaddr="buildbot@xxxxxxxxxxxx",builders=["yade-full-test"],
# extraRecipients=["remi.cailletaud@xxxxxxxxxxx"],
# sendToInterestedUsers=True))