summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-05-13 15:00:47 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-05-15 15:50:45 +0000
commitd03bfc7a2bcdc6273bb2e6872e9b0c5309674d8e (patch)
tree41c608109d9abac5e2a118d1386f494163cf5a40
parentf36dea31e91954debaee47a87be34c793be0ffe4 (diff)
downloaddefinitions-d03bfc7a2bcdc6273bb2e6872e9b0c5309674d8e.tar.gz
Add a system and cluster morphology for a GitLab server
-rw-r--r--gitlab-server-cluster.morph22
-rw-r--r--gitlab-server.morph21
2 files changed, 43 insertions, 0 deletions
diff --git a/gitlab-server-cluster.morph b/gitlab-server-cluster.morph
new file mode 100644
index 00000000..09ff4869
--- /dev/null
+++ b/gitlab-server-cluster.morph
@@ -0,0 +1,22 @@
+kind: cluster
+name: gitlab-server-cluster
+systems:
+- morph: gitlab-server
+ deploy-defaults:
+ AUTOSTART: no
+ DISK_SIZE: 6G
+ RAM_SIZE: 2G
+ VCPUS: 2
+ VERSION_LABEL: factory
+ deploy:
+ gitlab:
+ type: kvm
+ location: kvm+ssh://USER@HOST/gitlab/home/USER/gitlab.img
+ HOSTNAME: gitlab
+ GITLAB_HOSTNAME: gitlab.example.com
+ GITLAB_PORT: 80
+ GITLAB_EMAIL: gitlab@gitlab.example.com
+ UNICORN_PORT: 8080
+ CI_PORT: 81
+ UNICORN_CI_PORT: 8081
+ INSTALL_FILES: gitlab-server/manifest
diff --git a/gitlab-server.morph b/gitlab-server.morph
new file mode 100644
index 00000000..e0210f6e
--- /dev/null
+++ b/gitlab-server.morph
@@ -0,0 +1,21 @@
+arch: x86_64
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files
+- gitlab
+description: system which hosts a gitlab server
+kind: system
+name: gitlab-server
+strata:
+- morph: build-essential
+- morph: bsp-x86_64-generic
+- morph: foundation
+- morph: core
+- morph: tools
+- morph: nfs
+- morph: databases
+- morph: webtools
+- morph: ruby