diff options
Diffstat (limited to 'trove')
23 files changed, 0 insertions, 522 deletions
diff --git a/trove/clusters/mason-openstack.morph b/trove/clusters/mason-openstack.morph deleted file mode 100644 index 6a854bd5..00000000 --- a/trove/clusters/mason-openstack.morph +++ /dev/null @@ -1,39 +0,0 @@ -name: mason-openstack -kind: cluster -description: | - This is a template cluster morphology that can be adapted to set up a - Mason. Masons are composed of a trove and a distbuild system. -systems: -- morph: systems/build-system-x86_64.morph - deploy-defaults: - ARTIFACT_CACHE_SERVER: example-cache-server - CONTROLLERHOST: controller-hostname - DISTBUILD_CONTROLLER: true - DISTBUILD_WORKER: true - INSTALL_FILES: install-files/distbuild/manifest - RAM_SIZE: 8G - TROVE_HOST: your-upstream-trove - TROVE_ID: your-upstream-trove-prefix - VCPUS: 2 - WORKER_SSH_KEY: ssh-keys/worker.key - deploy: - mason-openstack: - type: extensions/openstack - location: openstack-auth-url (eg example.com:5000/v2.0) - DISK_SIZE: 6G - DISTBUILD_CONTROLLER: true - HOSTNAME: controller-hostname - MASON_CLUSTER_MORPHOLOGY: clusters/ci.morph - MASON_DEFINITIONS_REF: master - MASON_DISTBUILD_ARCH: x86_64 - MASON_TEST_HOST: user@openstack-auth-url - WORKERS: controller-hostname - OPENSTACK_AUTH_URL: openstack-auth-url - OPENSTACK_USER: baserock - OPENSTACK_TENANT: baserock - OPENSTACK_TENANT_ID: 7d7ebfe23367490b973a10fa426c3aec - OPENSTACK_IMAGENAME: mason-openstack - OPENSTACK_NETWORK_ID: 71f5151a-b7c3-405d-a841-d1b07e5db099 - CLOUD_INIT: true - KERNEL_ARGS: console=ttyS0 console=tty0 - TEST_INFRASTRUCTURE_TYPE: openstack diff --git a/trove/clusters/mason.morph b/trove/clusters/mason.morph deleted file mode 100644 index f69a9e11..00000000 --- a/trove/clusters/mason.morph +++ /dev/null @@ -1,56 +0,0 @@ -name: example-mason-cluster -kind: cluster -description: | - This is a template cluster morphology that can be adapted to set up a - Mason. Masons are composed of a trove and a distbuild system. - - It is suggested that you use mason/mason-generator.sh to adapt this - template to suit your needs. It also handles the generation of - keys to let the systems communicate. -systems: -- morph: trove/systems/trove-system-x86_64.morph - deploy: - red-box-v1-trove: - type: extensions/kvm - location: kvm+ssh://vm-user@vm-host/red-box-v1-trove/vm-path/red-box-v1-trove.img - AUTOSTART: true - DISK_SIZE: 20G - HOSTNAME: red-box-v1-trove - LORRY_SSH_KEY: ssh_keys/lorry.key - MASON_SSH_PUBKEY: ssh_keys/mason.key.pub - RAM_SIZE: 8G - TROVE_ADMIN_EMAIL: adminuser@example.com - TROVE_ADMIN_NAME: Nobody - TROVE_ADMIN_SSH_PUBKEY: ssh_keys/id_rsa.pub - TROVE_ADMIN_USER: adminuser - TROVE_COMPANY: Company name goes here - TROVE_HOST: red-box-v1 - TROVE_ID: red-box-v1-trove - UPSTREAM_TROVE: upstream-trove - VCPUS: 2 - VERSION_LABEL: 45 - WORKER_SSH_PUBKEY: ssh_keys/worker.key.pub -- morph: systems/build-system-x86_64.morph - deploy-defaults: - ARTIFACT_CACHE_SERVER: red-box-v1-trove.example.com - CONTROLLERHOST: red-box-v1-controller.example.com - DISTBUILD_CONTROLLER: false - DISTBUILD_WORKER: true - INSTALL_FILES: install-files/distbuild/manifest - RAM_SIZE: 8G - TROVE_HOST: upstream-trove - TROVE_ID: upstream-trove - VCPUS: 2 - WORKER_SSH_KEY: ssh_keys/worker.key - deploy: - red-box-v1-controller: - type: extensions/kvm - location: kvm+ssh://vm-user@vm-host/red-box-v1-controller/vm-path/red-box-v1-controller.img - DISK_SIZE: 60G - DISTBUILD_CONTROLLER: true - HOSTNAME: red-box-v1-controller - MASON_CLUSTER_MORPHOLOGY: clusters/ci.morph - MASON_DEFINITIONS_REF: master - MASON_DISTBUILD_ARCH: x86_64 - MASON_TEST_HOST: vm-user@vm-host:/vm-path/ - WORKERS: red-box-v1-controller diff --git a/trove/clusters/trove-example.morph b/trove/clusters/trove-example.morph deleted file mode 100644 index 13171846..00000000 --- a/trove/clusters/trove-example.morph +++ /dev/null @@ -1,58 +0,0 @@ -name: trove-example -kind: cluster -description: | - This is an example cluster morphology for deploying a Trove, - both the initial deployment and an upgrade. - - You need some ssh keys, which you can create like this: - - mkdir ssh_keys - ssh-keygen -N '' -f ssh_keys/lorry.key - ssh-keygen -N '' -f ssh_keys/worker.key - ssh-keygen -N '' -f ssh_keys/trove-admin.key - - You may also put in your own keys instead of creating new ones. - - To do the initial deployment: - - morph deploy clusters/trove-example.morph \ - initial \ - initial.location=kvm+ssh://liw@192.168.122.1/test-trove/tmp/test-trove.img - - To do an upgrade: - - morph deploy clusters/trove-example.morph \ - upgrade upgrade.VERSION_LABEL=123 - - where `VERSION_LABEL` gets a new unique value each time. - - Remember to always specify either initial or upgrade as the - deployment name to use, otherwise morph will attempt to deploy both. - - You can find documentation for Trove at the following web address: - http://wiki.baserock.org/Trove/ -systems: -- morph: trove/systems/trove-system-x86_64.morph - deploy-defaults: - HOSTNAME: test-trove - VCPUS: 2 - RAM_SIZE: 2G - DISK_SIZE: 8G - LORRY_SSH_KEY: ssh_keys/lorry.key - WORKER_SSH_PUBKEY: ssh_keys/worker.key.pub - TROVE_ADMIN_EMAIL: adminuser@example.com - TROVE_ADMIN_NAME: Nobody - TROVE_ADMIN_SSH_PUBKEY: ssh_keys/trove-admin.key.pub - TROVE_ADMIN_USER: adminuser - TROVE_COMPANY: Company name goes here - TROVE_HOST: test-trove - TROVE_ID: test-trove - UPSTREAM_TROVE: '' - deploy: - initial: - type: extensions/kvm - location: kvm+ssh://vm-user@vm-host/test-trove/vm-path/test-trove.img - VERSION_LABEL: 1 - upgrade: - type: extensions/ssh-rsync - location: test-trove diff --git a/trove/clusters/trove.baserock.org-upgrade.morph b/trove/clusters/trove.baserock.org-upgrade.morph deleted file mode 100644 index cfd5d1cb..00000000 --- a/trove/clusters/trove.baserock.org-upgrade.morph +++ /dev/null @@ -1,19 +0,0 @@ -name: trove.baserock.org-upgrade -kind: cluster -description: | - This is a cluster morphology for deploying an UPGRADE to - git.baserock.org. It doesn't work for the initial deployment. The - deployer MUST have ssh access to root@git.baserock.org. To use: - - morph upgrade clusters/trove.baserock.org-upgrade.morph gbo.VERSION_LABEL=2014-05-29 - - Replace the value of gbo.VERSION_LABEL above with the current date. - You can add letters if you need to upgrade multiple times in a day. -systems: -- morph: trove/systems/trove-system-x86_64.morph - deploy: - gbo: - upgrade-type: extensions/ssh-rsync - upgrade-location: root@git.baserock.org - HOSTNAME: baserock - TROVE_GENERIC: True diff --git a/trove/strata/fail2ban-common.morph b/trove/strata/fail2ban-common.morph deleted file mode 100644 index 23918a66..00000000 --- a/trove/strata/fail2ban-common.morph +++ /dev/null @@ -1,14 +0,0 @@ -name: fail2ban-common -kind: stratum -description: | - This stratum only installs fail2ban. You will need to - configure it afterwards. It's recommended to include - iptables in the system too. -build-depends: -- morph: strata/core.morph -chunks: -- name: fail2ban - morph: trove/strata/fail2ban-common/fail2ban.morph - repo: upstream:fail2ban - ref: 70ba5cb0054f0869930b8cd2dc1bb836653dd289 - unpetrify-ref: "0.9.3" diff --git a/trove/strata/fail2ban-common/fail2ban.morph b/trove/strata/fail2ban-common/fail2ban.morph deleted file mode 100644 index 2f267a5a..00000000 --- a/trove/strata/fail2ban-common/fail2ban.morph +++ /dev/null @@ -1,6 +0,0 @@ -name: fail2ban -kind: chunk -build-system: python3-distutils -post-install-commands: -- install -D -m 640 files/fail2ban.service "$DESTDIR"/"$PREFIX"/lib/systemd/system/fail2ban.service -- install -D -m 640 files/fail2ban-tmpfiles.conf "$DESTDIR"/"$PREFIX"/lib/tmpfiles.d/fail2ban.conf diff --git a/trove/strata/lorry-controller.morph b/trove/strata/lorry-controller.morph deleted file mode 100644 index 87d3ed00..00000000 --- a/trove/strata/lorry-controller.morph +++ /dev/null @@ -1,16 +0,0 @@ -name: lorry-controller -kind: stratum -description: | - Lorry Controller mirroring service. - - This is a component of Trove, but can - also be used with other Git servers. -build-depends: -- morph: strata/python-cliapp.morph -- morph: strata/python-wsgi.morph -chunks: -- name: lorry-controller - morph: trove/strata/lorry-controller/lorry-controller.morph - repo: baserock:baserock/lorry-controller - ref: dddd2e37953d795e4004b1d2722c25ec652135ad - unpetrify-ref: master diff --git a/trove/strata/lorry-controller/lorry-controller.morph b/trove/strata/lorry-controller/lorry-controller.morph deleted file mode 100644 index 2f90a9a1..00000000 --- a/trove/strata/lorry-controller/lorry-controller.morph +++ /dev/null @@ -1,10 +0,0 @@ -name: lorry-controller -kind: chunk -build-system: python-distutils -post-install-commands: -- install -d 0755 "$DESTDIR/etc/lighttpd" -- install -m 0644 -D etc/lighttpd/*.conf "$DESTDIR/etc/lighttpd/." -- | - TGT="$DESTDIR/usr/lib/systemd/system" - install -d "$TGT/multi-user.target.wants" - install -m 0644 units/*.service units/*.timer "$TGT/." diff --git a/trove/strata/python3-core.morph b/trove/strata/python3-core.morph deleted file mode 100644 index afacc3da..00000000 --- a/trove/strata/python3-core.morph +++ /dev/null @@ -1,58 +0,0 @@ -name: python3-core -kind: stratum -description: | - Some "core" Python packages, for Python 3. - - The CPython interpreter for Python 3 is in core.morph. - -build-depends: -- morph: strata/core.morph - -chunks: -- name: mako - repo: upstream:python-packages/mako.git - ref: 285bc818a50ccc0f9549630f7c4f4c250585c3e7 - unpetrify-ref: rel_1_0_0 - build-system: python3-distutils - -- name: pbr - repo: upstream:pbr - ref: 6e472b4905411a39e993c81c382a27ca9c771ef5 - unpetrify-ref: 0.11.1 - build-system: python3-distutils - -- name: python-requests - repo: upstream:python-requests - ref: b83131779c701720a9ae9efae78996277d416269 - unpetrify-ref: v2.5.1 - build-system: python3-distutils - -- name: six - repo: upstream:six - ref: 8cfbff6b764af86d825086fa1637aa009e90d75a - unpetrify-ref: 1.9.0 - build-system: python3-distutils - -- name: pyyaml - morph: trove/strata/python3-core/pyyaml.morph - repo: upstream:pyyaml - ref: d9fbcceaed39d955f6871b07c61dc42f824285c1 - unpetrify-ref: baserock/morph - -- name: python-lxml - repo: upstream:python-lxml - ref: 14505bc62f5f1fc9fb0ff007955f3e67ab4562bb - unpetrify-ref: lxml-3.4.0 - build-system: python3-distutils - -- name: python-markdown - repo: upstream:python-markdown - ref: f0c5b71acbc02af60a33d67c59558bb513b25e74 - unpetrify-ref: 2.5.1-final - build-system: python3-distutils - -- name: jsonschema - repo: upstream:jsonschema - ref: 35b60f390098d3306c03eee27ceec8cf8a493579 - unpetrify-ref: v2.3.0 - build-system: python3-distutils diff --git a/trove/strata/python3-core/pyyaml.morph b/trove/strata/python3-core/pyyaml.morph deleted file mode 100644 index 001f392c..00000000 --- a/trove/strata/python3-core/pyyaml.morph +++ /dev/null @@ -1,6 +0,0 @@ -name: pyyaml -kind: chunk -build-commands: -- python3 setup.py --without-libyaml build -install-commands: -- python3 setup.py --without-libyaml install --prefix="$PREFIX" --root "$DESTDIR" diff --git a/trove/strata/trove.morph b/trove/strata/trove.morph deleted file mode 100644 index 8306c630..00000000 --- a/trove/strata/trove.morph +++ /dev/null @@ -1,101 +0,0 @@ -name: trove -kind: stratum -description: Trove software -build-depends: -- morph: strata/python2-core.morph -- morph: strata/tools.morph -- morph: strata/morph-utils.morph -- morph: strata/pcre-utils.morph -chunks: -- name: lua - morph: trove/strata/trove/lua.morph - repo: upstream:lua - ref: 948063437e0350d9ef1649ec3a76d0c24a5c8642 - unpetrify-ref: baserock/5.1-morph -- name: lace - morph: trove/strata/trove/lace.morph - repo: upstream:gitano/lace - ref: d1b540b6d361d6a1f51e53cdaab69f053340efbb - unpetrify-ref: baserock/morph - build-depends: - - lua - submodules: - extras/luacov: - url: upstream:gitano/luacov -- name: luxio - morph: trove/strata/trove/luxio.morph - repo: upstream:luxio - ref: be9d125080b9ff2376273e21b75669b65dc88d46 - unpetrify-ref: baserock/morph - build-depends: - - lua -- name: supple - morph: trove/strata/trove/supple.morph - repo: upstream:gitano/supple - ref: 0963e5706d78d0ae7446ea91af986de1e196eb39 - unpetrify-ref: baserock/morph - build-depends: - - lua - - luxio - submodules: - extras/luacov: - url: upstream:gitano/luacov -- name: clod - morph: trove/strata/trove/clod.morph - repo: upstream:gitano/clod - ref: da15894f42f48d15db997c4355d6b672371a4163 - unpetrify-ref: baserock/morph - build-depends: - - lua - submodules: - extras/luacov: - url: upstream:gitano/luacov -- name: gall - morph: trove/strata/trove/gall.morph - repo: upstream:gitano/gall - ref: 11de77bd79c08a152932a3435d1921abc1020252 - unpetrify-ref: baserock/morph - build-depends: - - lua - - luxio - submodules: - libgit2: - url: upstream:gitano/libgit2 - luagit2: - url: upstream:gitano/luagit2 - extras/luacov: - url: upstream:gitano/luacov -- name: lrexlib-pcre - morph: trove/strata/trove/lrexlib-pcre.morph - repo: upstream:lrexlib - ref: 0524a6e3ab6d50cba63c8642a875e246de53d651 - unpetrify-ref: baserock/morph - build-depends: - - lua -- name: gitano - morph: trove/strata/trove/gitano.morph - repo: upstream:gitano/gitano - ref: 4b8ce6875266fdd6609a217dcf2924d7d4815cc2 - unpetrify-ref: baserock/morph - build-depends: - - lua -- name: cgit - morph: trove/strata/trove/cgit.morph - repo: upstream:cgit - ref: dc881acb0c857c783b611c03294d79a7553a4ec7 - unpetrify-ref: baserock/v0.12 - submodules: - git: - url: upstream:git -- name: trove-setup - morph: trove/strata/trove/trove-setup.morph - repo: baserock:baserock/trove-setup - ref: 1f2edd45b03a3e9d86d7c77847612c969b60b86f - unpetrify-ref: master -- name: lua-scrypt - morph: trove/strata/trove/lua-scrypt.morph - repo: upstream:lua-scrypt - ref: 0d7f74cd3eab7d54fbb13294194de7ea70ac34a5 - unpetrify-ref: baserock/morph - build-depends: - - lua diff --git a/trove/strata/trove/cgit.morph b/trove/strata/trove/cgit.morph deleted file mode 100644 index bd373a51..00000000 --- a/trove/strata/trove/cgit.morph +++ /dev/null @@ -1,6 +0,0 @@ -name: cgit -kind: chunk -build-commands: -- make prefix="$PREFIX" -install-commands: -- make prefix="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/trove/strata/trove/clod.morph b/trove/strata/trove/clod.morph deleted file mode 100644 index e31ca4fb..00000000 --- a/trove/strata/trove/clod.morph +++ /dev/null @@ -1,7 +0,0 @@ -name: clod -kind: chunk -description: Configuration Language Organised (by) Dots. -build-commands: -- make -install-commands: -- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/trove/strata/trove/gall.morph b/trove/strata/trove/gall.morph deleted file mode 100644 index c1f2fd47..00000000 --- a/trove/strata/trove/gall.morph +++ /dev/null @@ -1,7 +0,0 @@ -name: gall -kind: chunk -description: Git Abstraction Layer for Lua -build-commands: -- make -install-commands: -- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/trove/strata/trove/gitano.morph b/trove/strata/trove/gitano.morph deleted file mode 100644 index 962224d5..00000000 --- a/trove/strata/trove/gitano.morph +++ /dev/null @@ -1,5 +0,0 @@ -name: gitano -kind: chunk -install-commands: -- make install INST_ROOT="$PREFIX" DESTDIR="$DESTDIR" -- cp scripts/htpasswd "$DESTDIR/$PREFIX/bin" diff --git a/trove/strata/trove/lace.morph b/trove/strata/trove/lace.morph deleted file mode 100644 index 70752397..00000000 --- a/trove/strata/trove/lace.morph +++ /dev/null @@ -1,7 +0,0 @@ -name: lace -kind: chunk -description: Lua Access Control Engine. -build-commands: -- make -install-commands: -- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/trove/strata/trove/lrexlib-pcre.morph b/trove/strata/trove/lrexlib-pcre.morph deleted file mode 100644 index 63f3b034..00000000 --- a/trove/strata/trove/lrexlib-pcre.morph +++ /dev/null @@ -1,9 +0,0 @@ -name: lrexlib-pcre -kind: chunk -description: Lua regular expression library - PCRE build only -build-commands: -- gcc -fPIC -DPIC -DVERSION=\"2.7.2\" -o rex_pcre.so -shared src/common.c src/pcre/lpcre.c - src/pcre/lpcre_f.c -lpcre -install-commands: -- mkdir -p $DESTDIR/usr/lib/lua/5.1/ -- cp rex_pcre.so $DESTDIR/usr/lib/lua/5.1/ diff --git a/trove/strata/trove/lua-scrypt.morph b/trove/strata/trove/lua-scrypt.morph deleted file mode 100644 index 141b8ec3..00000000 --- a/trove/strata/trove/lua-scrypt.morph +++ /dev/null @@ -1,4 +0,0 @@ -name: lua-scrypt -kind: chunk -install-commands: -- make lua-5.1-install DESTDIR="$DESTDIR" diff --git a/trove/strata/trove/lua.morph b/trove/strata/trove/lua.morph deleted file mode 100644 index 32aeb5c1..00000000 --- a/trove/strata/trove/lua.morph +++ /dev/null @@ -1,11 +0,0 @@ -name: lua -kind: chunk -configure-commands: -- sed -e 's/defined(LUA_USE_READLINE)/0/g' src/luaconf.h.orig >src/luaconf.h -- sed -i -e '/^linux:/{n;s/-lreadline//g;s/-lhistory//g;s/-lncurses//g}' src/Makefile -build-commands: -- make debian_linux INSTALL_TOP="$PREFIX" RPATH="$PREFIX/lib" -install-commands: -- make INSTALL_TOP="$DESTDIR/$PREFIX" debian_install -- mkdir -p "$DESTDIR/$PREFIX/lib/pkgconfig" -- cp lua5.1.pc "$DESTDIR/$PREFIX/lib/pkgconfig/" diff --git a/trove/strata/trove/luxio.morph b/trove/strata/trove/luxio.morph deleted file mode 100644 index 29aabfaf..00000000 --- a/trove/strata/trove/luxio.morph +++ /dev/null @@ -1,7 +0,0 @@ -name: luxio -kind: chunk -description: Lua Unix IO (and related stuff). -build-commands: -- make lua-5.1 -install-commands: -- make DESTDIR="$DESTDIR" lua-5.1-install diff --git a/trove/strata/trove/supple.morph b/trove/strata/trove/supple.morph deleted file mode 100644 index 6470ba28..00000000 --- a/trove/strata/trove/supple.morph +++ /dev/null @@ -1,7 +0,0 @@ -name: supple -kind: chunk -description: Sandbox (for) Untrusted Procedure Partitioning (in) Lua Engine. -build-commands: -- make -install-commands: -- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/trove/strata/trove/trove-setup.morph b/trove/strata/trove/trove-setup.morph deleted file mode 100644 index 1f49760f..00000000 --- a/trove/strata/trove/trove-setup.morph +++ /dev/null @@ -1,4 +0,0 @@ -name: trove-setup -kind: chunk -install-commands: -- make install DESTDIR="$DESTDIR" diff --git a/trove/systems/trove-system-x86_64.morph b/trove/systems/trove-system-x86_64.morph deleted file mode 100644 index fa691d62..00000000 --- a/trove/systems/trove-system-x86_64.morph +++ /dev/null @@ -1,65 +0,0 @@ -name: trove-system-x86_64 -kind: system -description: Trove server -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: python2-core - morph: strata/python2-core.morph -- name: python3-core - morph: trove/strata/python3-core.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: pcre-utils - morph: strata/pcre-utils.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: lorry - morph: strata/lorry.morph -- name: lorry-controller - morph: trove/strata/lorry-controller.morph -- name: trove - morph: trove/strata/trove.morph -- name: lighttpd-server - morph: strata/lighttpd-server.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: devtools - morph: strata/devtools.morph -- name: fail2ban-common - morph: trove/strata/fail2ban-common.morph -- name: connectivity - morph: strata/connectivity.morph -configuration-extensions: -- extensions/set-hostname -- extensions/trove -- extensions/nfsboot-server -- extensions/fstab -- extensions/install-files -- extensions/cloud-init -- extensions/install-essential-files |