summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-22 09:40:48 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-09-16 18:21:33 +0100
commit781ceb9f07ec9ab24a4dbbd4390760f498c0aae7 (patch)
tree9537a19e1dc6ea99cb0d155aef97ff4b682afd63
parent9727091d1d127d375287a1c8d5d33413691db511 (diff)
downloaddefinitions-781ceb9f07ec9ab24a4dbbd4390760f498c0aae7.tar.gz
Add system and cluster minimal morphology to install gerrit
-rw-r--r--clusters/gerrit-openstack.morph16
-rw-r--r--systems/gerrit-x86_64.morph25
2 files changed, 41 insertions, 0 deletions
diff --git a/clusters/gerrit-openstack.morph b/clusters/gerrit-openstack.morph
new file mode 100644
index 00000000..bdfb128c
--- /dev/null
+++ b/clusters/gerrit-openstack.morph
@@ -0,0 +1,16 @@
+name: open-stack-gerrit
+kind: cluster
+description: |
+ Deploy gerrit morphology into openstack
+systems:
+- morph: systems/gerrit-x86_64.morph
+ deploy:
+ openstack-image:
+ type: openstack
+ location: http://openstack-host:5000/v2.0/
+ DISK_SIZE: 4G
+ OPENSTACK_USER: openstack-user
+ OPENSTACK_TENANT: openstack-tenant
+ OPENSTACK_IMAGENAME: Gerrit
+ CLOUD_INIT: yes
+ KERNEL_ARGS: console=ttyS0 console=tty0
diff --git a/systems/gerrit-x86_64.morph b/systems/gerrit-x86_64.morph
new file mode 100644
index 00000000..8c48856c
--- /dev/null
+++ b/systems/gerrit-x86_64.morph
@@ -0,0 +1,25 @@
+name: gerrit-x86_64
+kind: system
+description: system to install gerrit on it
+arch: x86_64
+strata:
+- name: build-essential
+ morph: strata/build-essential.morph
+- name: bsp-x86_64-generic
+ morph: strata/bsp-x86_64-generic.morph
+- name: foundation
+ morph: strata/foundation.morph
+- name: core
+ morph: strata/core.morph
+- name: tools
+ morph: strata/tools.morph
+- name: nfs
+ morph: strata/nfs.morph
+- name: databases
+ morph: strata/databases.morph
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files