summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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