[150792] contrib/buildbot-test/master.cfg

ryandesign at macports.org ryandesign at macports.org
Thu Jul 28 21:34:44 PDT 2016


Revision: 150792
          https://trac.macports.org/changeset/150792
Author:   ryandesign at macports.org
Date:     2016-07-28 21:34:43 -0700 (Thu, 28 Jul 2016)
Log Message:
-----------
buildbot-test: selfupdate and checkout in portwatcher instead of portbuilder

Modified Paths:
--------------
    contrib/buildbot-test/master.cfg

Modified: contrib/buildbot-test/master.cfg
===================================================================
--- contrib/buildbot-test/master.cfg	2016-07-29 04:33:44 UTC (rev 150791)
+++ contrib/buildbot-test/master.cfg	2016-07-29 04:34:43 UTC (rev 150792)
@@ -290,6 +290,19 @@
         workdir="build/mpbb",
         haltOnFailure=True))
 
+    portwatcher_factory.addStep(ShellCommand(
+        command=['./mpbb/mpbb', 'selfupdate', '--prefix', WithProperties(prefix)],
+        name="selfupdate",
+        description="selfupdate",
+        haltOnFailure=True))
+
+    portwatcher_factory.addStep(ShellCommand(
+        command=['./mpbb/mpbb', 'checkout', '--prefix', WithProperties(prefix), '--svn-url', svnurl],
+        timeout=3600,
+        name="checkout",
+        description="checkout",
+        haltOnFailure=True))
+
     portwatcher_factory.addStep(SetPropertyFromCommandWithPortlist(
         command=WithProperties('for portname in %(fullportlist)s; do for subport in `./mpbb/tools/subports.tcl $portname`; do echo $subport; done; done' ),
         property="subportlist",
@@ -339,27 +352,19 @@
     mode="incremental",
     workdir="build/mpbb",
     haltOnFailure=True))
+
 portbuilder_factory.addStep(ShellCommand(
-    command=['./mpbb/mpbb', 'selfupdate', '--prefix', WithProperties(prefix)],
-    name="selfupdate",
-    description="selfupdate",
-    haltOnFailure=True))
-portbuilder_factory.addStep(ShellCommand(
-    command=['./mpbb/mpbb', 'checkout', '--prefix', WithProperties(prefix), '--svn-url', svnurl],
-    timeout=3600,
-    name="checkout",
-    description="checkout",
-    haltOnFailure=True))
-portbuilder_factory.addStep(ShellCommand(
     command=['./mpbb/mpbb', 'install-dependencies', '--prefix', WithProperties(prefix), '--port', WithProperties('%(portname)s')],
     name="install-dependencies",
     description="install-dependencies",
     haltOnFailure=True))
+
 portbuilder_factory.addStep(ShellCommand(
     command=['./mpbb/mpbb', 'install-port', '--prefix', WithProperties(prefix), '--port', WithProperties('%(portname)s')],
     name="install-port",
     description="install-port",
     haltOnFailure=True))
+
 portbuilder_factory.addStep(ShellCommand(
     command=['./mpbb/mpbb', 'gather-archives', '--prefix', WithProperties(prefix), '--port', WithProperties('%(portname)s'), '--archive-site', archivesite, '--staging-dir', ulpath],
     name="gather-archives",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160728/5925a98a/attachment.html>


More information about the macports-changes mailing list