summaryrefslogtreecommitdiff
path: root/clusters/release.morph.in
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2016-04-11 17:57:57 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2016-04-15 18:58:27 +0100
commit25041b86249fe763fd4171e2ab1aca535b3eb14f (patch)
treeacaa7a5268ff1aa796d1ca1a519cc0ddc4ac3d5c /clusters/release.morph.in
parent467bb8299ddc051855acb2093fd371e3423a0515 (diff)
downloaddefinitions-25041b86249fe763fd4171e2ab1aca535b3eb14f.tar.gz
Add a simple templating system to Baserock definitionssam/easy-templating
This is currently independent of the actual definitions format. The 'configure' tool generates actual .morph files from .morph.in files, and build tools then operate on these generated .morph files.t This is largely untested and no doubt broken!
Diffstat (limited to 'clusters/release.morph.in')
-rw-r--r--clusters/release.morph.in62
1 files changed, 62 insertions, 0 deletions
diff --git a/clusters/release.morph.in b/clusters/release.morph.in
new file mode 100644
index 00000000..5af66ab0
--- /dev/null
+++ b/clusters/release.morph.in
@@ -0,0 +1,62 @@
+name: release
+kind: cluster
+description: |
+ Deploy all the systems for we support in a release.
+
+ This cluster morph is used by the tool 'scripts/do-release'. While
+ you can deploy the systems yourself, if you are making a Baserock release
+ then the script should be used.
+systems:
+- morph: systems/build-system.x86_32-chroot.morph
+ deploy:
+ build-system-x86_32-chroot:
+ type: extensions/tar
+ location: build-system.x86_32-chroot.tar
+ HOSTNAME: build-system.x86-32-chroot
+- morph: systems/build-system.x86_32.morph
+ deploy:
+ build-system-x86_32:
+ type: extensions/rawdisk
+ location: build-system.x86_32.img
+ DISK_SIZE: 6G
+ HOSTNAME: build-system.x86-32
+- morph: systems/build-system.x86_64-chroot.morph
+ deploy:
+ build-system-x86_64-chroot:
+ type: extensions/tar
+ location: build-system.x86_64-chroot.tar
+ HOSTNAME: build-system-x86-64-chroot
+- morph: systems/build-system.x86_64.morph
+ deploy:
+ build-system-x86_64:
+ type: extensions/rawdisk
+ location: build-system.x86_64.img
+ DISK_SIZE: 6G
+ INITRAMFS_PATH: boot/initramfs.gz
+ HOSTNAME: build-system-x86-64
+ subsystems:
+ - morph: systems/initramfs.x86_64.morph
+ deploy:
+ initramfs-build-system-x86_64:
+ type: extensions/initramfs
+ location: boot/initramfs.gz
+- morph: systems/build-system.armv7lhf-rootfs.morph
+ deploy:
+ build-system-armv7lhf-rootfs:
+ type: extensions/tar
+ location: build-system.armv7lhf-rootfs.tar
+ HOSTNAME: build-system.armv7lhf-rootfs
+- morph: systems/build-system.armv7lhf-jetson.morph
+ deploy:
+ build-system-armv7lhf-jetson:
+ type: extensions/rawdisk
+ location: build-system.armv7lhf-jetson.img
+ DISK_SIZE: 3G
+ BOOT_DEVICE: /dev/mmcblk0p1
+ ROOT_DEVICE: /dev/mmcblk0p2
+ DTB_PATH: boot/tegra124-jetson-tk1.dtb
+ BOOTLOADER_CONFIG_FORMAT: extlinux
+ BOOTLOADER_INSTALL: none
+ KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1
+ nouveau.pstate=1
+ HOSTNAME: build-system-armv7lhf-jetson