[152630] contrib/buildbot-test

Ryan Schmidt ryandesign at macports.org
Wed Sep 14 07:10:13 PDT 2016


> On Sep 13, 2016, at 6:52 PM, raimue at macports.org wrote:
> 
> Revision
> 152630
> Author
> raimue at macports.org
> Date
> 2016-09-13 16:52:14 -0700 (Tue, 13 Sep 2016)
> Log Message
> 
> buildbot: add deploy config for www/guide
> 
> This adds preliminary support for deploying generated static files with rsync
> to the host running the web server. The builders and schedulers will only be
> added if the deploy configuration is filled.
> 
> Modified Paths
> 
> 	• contrib/buildbot-test/config.json.sample
> 	• contrib/buildbot-test/master.cfg
> Diff
> 
> Modified: contrib/buildbot-test/config.json.sample (152629 => 152630)
> 
> --- contrib/buildbot-test/config.json.sample	2016-09-13 20:48:39 UTC (rev 152629)
> +++ contrib/buildbot-test/config.json.sample	2016-09-13 23:52:14 UTC (rev 152630)
> 
> @@ -9,5 +9,21 @@
> 
>      "svnurl":       "https://svn.macports.org/repository/macports/trunk
> ",
> 
>      "archivesite":  "https://packages.macports.org
> ",
> 
>      "slaveprefix":  "/opt/local",
> 
> -    "toolsprefix":  "/opt/mports"
> 
> +    "toolsprefix":  "/opt/mports",
> +    "deploy": {
> +        "www": {
> +            "host": "",
> +            "user": "",
> +            "sshkeyfile": "",
> +            "sshknownhostsfile": "ssh_known_hosts",
> +            "destpath": ""
> +        },
> +        "guide": {
> +            "host": "",
> +            "user": "",
> +            "sshkeyfile": "",
> +            "sshknownhostsfile": "ssh_known_hosts",
> +            "destpath": ""
> +        }
> +    }
> 
>  }

I had to remove these lines when deploying because I don't have a "docs" worker set up yet.


Configuration Errors:
  builder 'docs-www' uses unknown slaves 'docs'
  builder 'docs-guide' uses unknown slaves 'docs'


This worker will run on the same server as the master. We have other tasks we need to run on the master as well: mirroring distfiles on port changes; copying ports to the rsync server on port changes; creating ports.tar on port changes; creating base.tar on base changes. Will these builders use the same worker? If so, what name could we pick (not "docs") that would be sufficiently all-encompassing?





More information about the macports-dev mailing list