From 6b62d04d668c53529839fb9e6431b14b51806b09 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Tue, 13 May 2014 15:00:47 +0000 Subject: Add a system and cluster morphology for a GitLab server --- gitlab-server-cluster.morph | 22 ++++++++++++++++++++++ gitlab-server.morph | 20 ++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 gitlab-server-cluster.morph create mode 100644 gitlab-server.morph diff --git a/gitlab-server-cluster.morph b/gitlab-server-cluster.morph new file mode 100644 index 00000000..4f8e72cf --- /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-sotk4/home/USER/gitlab.img + HOSTNAME: gitlab + GITLAB_HOSTNAME: + GITLAB_PORT: 80 + GITLAB_EMAIL: + 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..c1801902 --- /dev/null +++ b/gitlab-server.morph @@ -0,0 +1,20 @@ +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: useful -- cgit v1.2.1