diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-11-19 16:09:07 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-11-19 16:09:07 +0000 |
commit | 53c7140bfe3317abeeaa85fc2f72cc8d9b052355 (patch) | |
tree | 7f02dd4c306b5619988b87b9a2a5cf28a5fcd02b /clusters/example-distbuild-cluster.def | |
parent | e3e0baf91a5f0e1bcd1fad06345bbe4ec88fad1d (diff) | |
download | definitions-baserock/ps/simple-defs.tar.gz |
After morph-converter.shbaserock/ps/simple-defs
Diffstat (limited to 'clusters/example-distbuild-cluster.def')
-rw-r--r-- | clusters/example-distbuild-cluster.def | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/clusters/example-distbuild-cluster.def b/clusters/example-distbuild-cluster.def new file mode 100644 index 00000000..d999e683 --- /dev/null +++ b/clusters/example-distbuild-cluster.def @@ -0,0 +1,36 @@ +name: example-distbuild-cluster +description: | + This is an example cluster morph that can be adapted to set up a + Baserock distributed build network. + + You will need to deploy a Trove for the distributed build network + to use before deploying this cluster. The worker SSH key file should + be generated as part of the Trove deployment. It is the key used by + workers to authenticate with the Trove to give them read access to + all source repositories. +systems: +- name: build-system-x86_64 + deploy-defaults: + CONTROLLERHOST: build-controller + DISTBUILD_CONTROLLER: false + DISTBUILD_WORKER: true + FSTAB_SRC: LABEL=src /srv/distbuild auto defaults,rw,noatime 0 2 + INSTALL_FILES: distbuild/manifest + NFSBOOT_CONFIGURE: true + TROVE_ID: $MY_TROVE + WORKER_SSH_KEY: ssh-keys/worker.key + deploy: + build-controller: + type: nfsboot + location: $MY_TROVE + DISTBUILD_CONTROLLER: true + HOSTNAME: build-controller + WORKERS: build-node-1, build-node-2 + build-node-1: + type: nfsboot + location: $MY_TROVE + HOSTNAME: build-node-1 + build-node-2: + type: nfsboot + location: $MY_TROVE + HOSTNAME: build-node-2 |