summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-03-17 12:44:49 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-03-18 15:56:21 +0000
commit9b47088595b1f1cc24341a20be9b86b76fe2720e (patch)
treedae207d02eab4b2dedf3e937f3cbc1fa7506104e
parent72ebcc5f9c604be8aa573ab8a754b491e686280d (diff)
downloaddefinitions-9b47088595b1f1cc24341a20be9b86b76fe2720e.tar.gz
distbuild: Add a little documentation to configuration extension
-rw-r--r--distbuild.configure24
1 files changed, 23 insertions, 1 deletions
diff --git a/distbuild.configure b/distbuild.configure
index 739a5d84..d257fcae 100644
--- a/distbuild.configure
+++ b/distbuild.configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2013 Codethink Limited
+# Copyright (C) 2013-2014 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -13,6 +13,28 @@
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# This is a "morph deploy" configure extension to configure a Baserock
+# build node, as part of a distributed building cluster. It uses the
+# following variables from the environment:
+#
+# * DISTBUILD_CONTROLLER: if 'yes', machine is set up as the controller.
+# * DISTBUILD_WORKER: if 'yes', machine is set up as a worker.
+# * TROVE_ID: hostname and Trove prefix of the server to pull source
+# from and push built artifacts to.
+#
+# The following variable is optional:
+#
+# * ARTIFACT_CACHE_SERVER: by default artifacts are pushed to the same
+# Trove that served the source, but you can use a different one.
+#
+# The following variable is required for worker nodes only:
+#
+# * CONTROLLERHOST: hostname or IP address of distbuild controller machine.
+#
+# The following variable is required for the controller node only:
+#
+# * WORKERS: hostnames or IP address of worker nodes, comma-separated.
set -eu