summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2014-05-04 06:58:41 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2014-05-10 13:29:27 +0000
commit081ffc7de30e07b3c317fc47035a8ffd179718b0 (patch)
treeb2f44876193236361d75afbb6a784aaf17ecd38e
parentb794bba4b993b26c602df88f092a7df56a60d0ac (diff)
downloaddefinitions-081ffc7de30e07b3c317fc47035a8ffd179718b0.tar.gz
example web dev system with python, node, ruby, postgres, redis, memcached, erlang
-rw-r--r--databases.morph27
-rw-r--r--erlang.morph11
-rw-r--r--ruby.morph23
-rw-r--r--web-system-x86_64-generic.morph22
-rw-r--r--webtools.morph37
5 files changed, 120 insertions, 0 deletions
diff --git a/databases.morph b/databases.morph
new file mode 100644
index 00000000..628fcf30
--- /dev/null
+++ b/databases.morph
@@ -0,0 +1,27 @@
+name: databases
+kind: stratum
+description: some popular databases
+build-depends:
+- morph: tools
+- morph: nfs
+chunks:
+- name: readline
+ repo: upstream:readline
+ ref: 7628b745a813aac53586b640da056a975f1c443e
+ unpetrify-ref: readline-6.3
+ build-depends: []
+- name: postgresql
+ repo: upstream:postgresql
+ ref: d4f8dde3c1c2c90c723ab550e7f449fc75599316
+ unpetrify-ref: REL9_3_4
+ build-depends:
+ - readline
+- name: redis
+ repo: upstream:redis
+ ref: baserock/3.0
+ build-depends: []
+- name: memcached
+ repo: upstream:memcached
+ ref: d8b1047620a54443f6bdca7f0dc5ee3b4d99378e
+ unpetrify-ref: master
+ build-depends: []
diff --git a/erlang.morph b/erlang.morph
new file mode 100644
index 00000000..bf553eb9
--- /dev/null
+++ b/erlang.morph
@@ -0,0 +1,11 @@
+name: erlang
+kind: stratum
+description: stratum for erlang/otp and stuff
+build-depends:
+- morph: tools
+chunks:
+- name: erlang
+ repo: upstream:erlang
+ ref: d307c9520644d17d5f7597c0154888e2d570b107
+ unpetrify-ref: baserock/morph
+ build-depends: []
diff --git a/ruby.morph b/ruby.morph
new file mode 100644
index 00000000..dc2369f1
--- /dev/null
+++ b/ruby.morph
@@ -0,0 +1,23 @@
+name: ruby
+kind: stratum
+description: ruby and things from ruby world
+build-depends:
+- morph: tools
+chunks:
+- name: ruby-1.8
+ repo: upstream:ruby
+ ref: 7a24f1710028d568ad61d0aa49d5178260178d77
+ unpetrify-ref: baserock/morph/ruby_1_8_7
+ build-depends: []
+- name: libyaml
+ repo: upstream:libyaml-hg
+ ref: 0577078d6625a7bf06e6bc7fb26a43e27400b17e
+ unpetrify-ref: master
+ build-depends: []
+- name: ruby
+ repo: upstream:ruby
+ ref: 05604af5a6da635b8bca51269db8b433972e82c0
+ unpetrify-ref: baserock/ruby_2_0_0
+ build-depends:
+ - ruby-1.8
+ - libyaml
diff --git a/web-system-x86_64-generic.morph b/web-system-x86_64-generic.morph
new file mode 100644
index 00000000..836bb45e
--- /dev/null
+++ b/web-system-x86_64-generic.morph
@@ -0,0 +1,22 @@
+arch: x86_64
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files
+description: system with web tools
+kind: system
+name: web-system-x86_64-generic
+strata:
+- morph: build-essential
+- morph: bsp-x86_64-generic
+- morph: foundation
+- morph: core
+- morph: tools
+- morph: nfs
+- morph: databases
+- morph: webtools
+- morph: erlang
+- morph: ruby
+- morph: nodejs
diff --git a/webtools.morph b/webtools.morph
new file mode 100644
index 00000000..523dde2b
--- /dev/null
+++ b/webtools.morph
@@ -0,0 +1,37 @@
+name: webtools
+kind: stratum
+description: pip, node and other fun things
+build-depends:
+- morph: tools
+chunks:
+- name: icu
+ repo: upstream:icu
+ ref: ba023548a3bff7277cbea4acade3042ce9d8949e
+ unpetrify-ref: baserock/morph
+ build-depends: []
+- name: libgit2
+ repo: upstream:libgit2
+ ref: 4b0a36e881506a02b43a4ae3c19c93c919b36eeb
+ unpetrify-ref: master
+ build-depends: []
+- name: tar
+ repo: upstream:tar
+ ref: 0492b656656ca7973b126b8c117804d80952de48
+ unpetrify-ref: baserock/morph
+ build-depends: []
+- name: pip
+ repo: upstream:pip.git
+ ref: d4b691b743a91500cf49119d28a805db8313f129
+ unpetrify-ref: master
+ build-depends: []
+- name: pcre
+ repo: upstream:pcre
+ ref: 2720152c58e13e7cc7403642ec33127101b9971b
+ unpetrify-ref: baserock/morph
+ build-depends: []
+- name: nginx
+ repo: upstream:nginx
+ ref: 37a582c9ea3e731c115e560d31b26f78535b8fca
+ unpetrify-ref: baserock/v1.7.0
+ build-depends:
+ - pcre