summaryrefslogtreecommitdiff
path: root/clusters
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-10-20 13:12:05 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-10-27 09:09:37 +0000
commitb3a7c84e3dfb3385b7c5f5cc104ab2f6be278b91 (patch)
treee2525d92184b752d7bdd9e87a862b11a848b850f /clusters
parent8de65c89a16cd78cc4757d50b7d4454cb1d9691f (diff)
downloaddefinitions-b3a7c84e3dfb3385b7c5f5cc104ab2f6be278b91.tar.gz
Add a system and cluster for Mason on OpenStackbaserock/adamcoldrick/mason-openstack-rebased
This could be improved in future by combining the cluster morphology with the existing one, and mason/mason-generator.sh being improved to allow choice between OpenStack and KVM.
Diffstat (limited to 'clusters')
-rw-r--r--clusters/mason-openstack.morph39
1 files changed, 39 insertions, 0 deletions
diff --git a/clusters/mason-openstack.morph b/clusters/mason-openstack.morph
new file mode 100644
index 00000000..bea73dda
--- /dev/null
+++ b/clusters/mason-openstack.morph
@@ -0,0 +1,39 @@
+name: openstack-mason
+kind: cluster
+description: |
+ This is a template cluster morphology that can be adapted to set up a
+ Mason. Masons are composed of a trove and a distbuild system.
+systems:
+- morph: systems/distbuild-system-x86_64-openstack.morph
+ deploy-defaults:
+ ARTIFACT_CACHE_SERVER: example-cache-server
+ CONTROLLERHOST: controller-hostname
+ DISTBUILD_CONTROLLER: true
+ DISTBUILD_WORKER: true
+ INSTALL_FILES: distbuild/manifest
+ RAM_SIZE: 8G
+ TROVE_HOST: your-upstream-trove
+ TROVE_ID: your-upstream-trove-prefix
+ VCPUS: 2
+ WORKER_SSH_KEY: ssh-keys/worker.key
+ deploy:
+ mason-openstack:
+ type: openstack
+ location: openstack-auth-url (eg example.com:5000/v2.0)
+ DISK_SIZE: 6G
+ DISTBUILD_CONTROLLER: true
+ HOSTNAME: controller-hostname
+ MASON_CLUSTER_MORPHOLOGY: clusters/ci.morph
+ MASON_DEFINITIONS_REF: master
+ MASON_DISTBUILD_ARCH: x86_64
+ MASON_TEST_HOST: user@openstack-auth-url
+ WORKERS: controller-hostname
+ OPENSTACK_AUTH_URL: openstack-auth-url
+ OPENSTACK_USER: baserock
+ OPENSTACK_TENANT: baserock
+ OPENSTACK_TENANT_ID: 7d7ebfe23367490b973a10fa426c3aec
+ OPENSTACK_IMAGENAME: mason-openstack
+ OPENSTACK_NETWORK_ID: 71f5151a-b7c3-405d-a841-d1b07e5db099
+ CLOUD_INIT: yes
+ KERNEL_ARGS: console=ttyS0 console=tty0
+ TEST_INFRASTRUCTURE_TYPE: openstack