summaryrefslogtreecommitdiff
path: root/clusters
diff options
context:
space:
mode:
Diffstat (limited to 'clusters')
-rw-r--r--clusters/altera-socfpga-devkit-sd-image.morph14
-rw-r--r--clusters/build-system-x86_64-chroot-deploy.morph9
-rw-r--r--clusters/ci.morph81
-rw-r--r--clusters/example-distbuild-cluster.morph37
-rw-r--r--clusters/hardware-deployment.morph35
-rw-r--r--clusters/image-package-example.morph12
-rw-r--r--clusters/initramfs-test.morph22
-rw-r--r--clusters/installer-build-system-x86_64.morph52
-rw-r--r--clusters/minimal-system-armv5l-openbmc-aspeed-deploy.morph13
-rw-r--r--clusters/minimal-system-deploy.morph14
-rw-r--r--clusters/minimal-system-x86_64-chroot-deploy.morph9
-rw-r--r--clusters/minimal-system-x86_64-deploy.morph12
-rw-r--r--clusters/release.morph62
13 files changed, 0 insertions, 372 deletions
diff --git a/clusters/altera-socfpga-devkit-sd-image.morph b/clusters/altera-socfpga-devkit-sd-image.morph
deleted file mode 100644
index 71d3da2d..00000000
--- a/clusters/altera-socfpga-devkit-sd-image.morph
+++ /dev/null
@@ -1,14 +0,0 @@
-name: altera-socfpga-devkit-sd-image
-kind: cluster
-description: |
- This cluster morph deploys a little endian Baserock system to
- an SD image for the Altera Cyclone V development kit
-systems:
-- morph: systems/build-system-armv7l-altera-socfpga-devkit.morph
- deploy:
- self:
- type: extensions/rawdisk
- location: build-system-armv7l-altera-socfpga-devkit.img
- DISK_SIZE: 7G
- USE_PARTITIONING: yes
- PARTITION_FILE: partitioning/socfpga-devkit
diff --git a/clusters/build-system-x86_64-chroot-deploy.morph b/clusters/build-system-x86_64-chroot-deploy.morph
deleted file mode 100644
index ce0b26bc..00000000
--- a/clusters/build-system-x86_64-chroot-deploy.morph
+++ /dev/null
@@ -1,9 +0,0 @@
-name: build-system-x86_64-chroot-deploy
-kind: cluster
-systems:
-- 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
diff --git a/clusters/ci.morph b/clusters/ci.morph
deleted file mode 100644
index e9dac92e..00000000
--- a/clusters/ci.morph
+++ /dev/null
@@ -1,81 +0,0 @@
-name: ci
-kind: cluster
-description: |
- Deploy all the systems for CD.
-
- This cluster morph is for use by the Mason Continuous Delivery pipeline
- during development.
-systems:
-- morph: systems/minimal-system-x86_64-generic.morph
- deploy:
- minimal-system-x86_64-generic:
- type: extensions/rawdisk
- location: minimal-system-x86_64-generic.img
- DISK_SIZE: 512M
- INIT_SYSTEM: busybox
-- 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
-- morph: gnome/systems/gnome-system-x86_64.morph
- deploy:
- gnome-system-x86_64:
- type: extensions/rawdisk
- location: gnome-system-x86_64.img
- DISK_SIZE: 7G
- KERNEL_ARGS: vga=788
-- morph: weston/systems/weston-system-armv7lhf-jetson.morph
- deploy:
- weston-system-armv7lhf-jetson:
- type: extensions/rawdisk
- location: weston-system-armv7lhf-jetson.img
- DISK_SIZE: 4G
- 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
-- morph: genivi/systems/genivi-baseline-system-x86_64-generic.morph
- deploy:
- genivi-baseline-system-x86_64-generic:
- type: extensions/rawdisk
- location: genivi-baseline-system-x86_64-generic.img
- DISK_SIZE: 4G
- KERNEL_ARGS: vga=788
- GENIVI_WESTON_BACKEND: fbdev
- GENIVI_WESTON_CONFIG: baseline
- GENIVI_WESTON_AUTOSTART: False
-- morph: genivi/systems/genivi-baseline-system-armv7lhf-jetson.morph
- deploy:
- genivi-baseline-system-armv7lhf-jetson:
- type: extensions/rawdisk
- location: genivi-baseline-system-armv7lhf-jetson.img
- DISK_SIZE: 4G
- 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
- GENIVI_WESTON_BACKEND: drm
- GENIVI_WESTON_CONFIG: baseline
- GENIVI_WESTON_AUTOSTART: True
-- morph: weston/systems/weston-qt5-system-x86_64.morph
- deploy:
- weston-qt5-system-x86_64.morph:
- type: extensions/rawdisk
- location: weston-qt5-system-x86_64.morph.img
- DISK_SIZE: 4G
- KERNEL_ARGS: vga=788
diff --git a/clusters/example-distbuild-cluster.morph b/clusters/example-distbuild-cluster.morph
deleted file mode 100644
index 5208a5ca..00000000
--- a/clusters/example-distbuild-cluster.morph
+++ /dev/null
@@ -1,37 +0,0 @@
-name: example-distbuild-cluster
-kind: cluster
-description: |
- This is an example cluster morph that can be adapted to set up a
- Baserock distributed build network.
-
- You will need to deploy a Trove for the distributed build network
- to use before deploying this cluster. The worker SSH key file should
- be generated as part of the Trove deployment. It is the key used by
- workers to authenticate with the Trove to give them read access to
- all source repositories.
-systems:
-- morph: systems/build-system-x86_64.morph
- deploy-defaults:
- CONTROLLERHOST: build-controller
- DISTBUILD_CONTROLLER: false
- DISTBUILD_WORKER: true
- FSTAB_SRC: LABEL=src /srv/distbuild auto defaults,rw,noatime 0 2
- INSTALL_FILES: install-files/distbuild/manifest
- NFSBOOT_CONFIGURE: true
- TROVE_ID: $MY_TROVE
- WORKER_SSH_KEY: ssh-keys/worker.key
- deploy:
- build-controller:
- type: extensions/nfsboot
- location: $MY_TROVE
- DISTBUILD_CONTROLLER: true
- HOSTNAME: build-controller
- WORKERS: build-node-1, build-node-2
- build-node-1:
- type: extensions/nfsboot
- location: $MY_TROVE
- HOSTNAME: build-node-1
- build-node-2:
- type: extensions/nfsboot
- location: $MY_TROVE
- HOSTNAME: build-node-2
diff --git a/clusters/hardware-deployment.morph b/clusters/hardware-deployment.morph
deleted file mode 100644
index 674d6587..00000000
--- a/clusters/hardware-deployment.morph
+++ /dev/null
@@ -1,35 +0,0 @@
-name: hardware-deployment
-kind: cluster
-description: |
- Deploy a build-system into hardware using the combination
- of the pxeboot.write extension and the installer system.
- This examples uses the spawn-novlan mode of pxeboot.write.
-systems:
-- morph: systems/installer-system-x86_64.morph
- deploy:
- installer:
- type: extensions/pxeboot
- location: AB:CD:EF:12:34:56:78 #MAC address.
- PXEBOOT_MODE: spawn-novlan
- PXEBOOT_DEPLOYER_INTERFACE: ens6
- KERNEL_ARGS: console=ttyS1,9600 console=tty0 init=/usr/lib/baserock-installer/installer
- HOSTNAME: installer-system
- IPMI_USER: myipmiuser
- IPMI_PASSWORD: myipmipassword
- IPMI_HOST: 123.34.45.120 #IPMI ip address
- INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda
- INSTALLER_ROOTFS_TO_INSTALL: /rootfs
- subsystems:
- - morph: systems/build-system-x86_64.morph
- deploy:
- to-install:
- type: extensions/sysroot
- location: /rootfs
- INITRAMFS_PATH: boot/initramfs.gz
- KERNEL_ARGS: console=ttyS1,9600 console=tty0
- subsystems:
- - morph: systems/initramfs-x86_64.morph
- deploy:
- initramfs:
- type: extensions/initramfs
- location: boot/initramfs.gz
diff --git a/clusters/image-package-example.morph b/clusters/image-package-example.morph
deleted file mode 100644
index ca79ec97..00000000
--- a/clusters/image-package-example.morph
+++ /dev/null
@@ -1,12 +0,0 @@
-name: image-package-example
-kind: cluster
-description: |
- Packaged system and script for installing it, for deferred instantiation.
-systems:
-- morph: systems/base-system-x86_32-generic.morph
- deploy:
- imgpkg:
- type: extensions/image-package
- location: image-package-example.tar
- BOOTLOADER_BLOBS: /usr/share/syslinux/mbr.bin
- INCLUDE_SCRIPTS: extensions/image-package-example/make-disk-image.sh.in:extensions/image-package-example/disk-install.sh.in:extensions/image-package-example/common.sh.in
diff --git a/clusters/initramfs-test.morph b/clusters/initramfs-test.morph
deleted file mode 100644
index a4ce7f32..00000000
--- a/clusters/initramfs-test.morph
+++ /dev/null
@@ -1,22 +0,0 @@
-name: initramfs-test
-kind: cluster
-systems:
-- morph: systems/base-system-x86_64-generic.morph
- deploy:
- system:
- type: extensions/rawdisk
- location: initramfs-system-x86_64.img
- DISK_SIZE: 1G
- HOSTNAME: initramfs-system
- INITRAMFS_PATH: boot/initramfs.gz
- subsystems:
- - morph: systems/initramfs-x86_64.morph
- deploy:
- initramfs:
- type: extensions/initramfs
- location: boot/initramfs.gz
- - morph: systems/initramfs-x86_64.morph
- deploy:
- shutdownramfs:
- type: sysroot
- location: usr/lib/shutdownramfs
diff --git a/clusters/installer-build-system-x86_64.morph b/clusters/installer-build-system-x86_64.morph
deleted file mode 100644
index d9a2a28b..00000000
--- a/clusters/installer-build-system-x86_64.morph
+++ /dev/null
@@ -1,52 +0,0 @@
-name: installer-build-system-x86_64
-kind: cluster
-description: |
- This is a cluster morphology that can be used to deploy
- installer systems. This is done by adding the files needed
- using a manifest file (installer/manifest) with the INSTALL_FILES
- extension, and using the installer.configure extension to generate
- the configuration needed in the system.
-
- This manifest, which is installing the installer script in
- /usr/lib/installer/installer.py, in combination of adding
- "init=/usr/lib/installer/installer.py" as KERNEL_ARGS in the system
- makes the system run the installer.py script as init script.
-
- The installer.py script will read the information needed to
- install the system (where is the root filesystem to install and
- where to install it) from /etc/install.conf.
-
- This cluster also deploys a subsystem (a build-system in this case)
- which is going to be the system that the installer system/script is
- going to install.
-
-systems:
-- morph: systems/installer-system-x86_64.morph
- deploy:
- installer:
- type: extensions/rawdisk
- location: installer-build-system-x86_64.img
- KERNEL_ARGS: init=/usr/lib/baserock-installer/installer
- DISK_SIZE: 6G
- HOSTNAME: installer-x86_64
- INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda
- INSTALLER_ROOTFS_TO_INSTALL: /rootfs
- INITRAMFS_PATH: boot/initramfs.gz
- subsystems:
- - morph: systems/initramfs-x86_64.morph
- deploy:
- installer-initramfs:
- type: extensions/initramfs
- location: boot/initramfs.gz
- - morph: systems/build-system-x86_64.morph
- deploy:
- to-install:
- type: extensions/sysroot
- location: /rootfs
- INITRAMFS_PATH: boot/initramfs.gz
- subsystems:
- - morph: systems/initramfs-x86_64.morph
- deploy:
- to-install-initramfs:
- type: extensions/initramfs
- location: boot/initramfs.gz
diff --git a/clusters/minimal-system-armv5l-openbmc-aspeed-deploy.morph b/clusters/minimal-system-armv5l-openbmc-aspeed-deploy.morph
deleted file mode 100644
index 3154fa26..00000000
--- a/clusters/minimal-system-armv5l-openbmc-aspeed-deploy.morph
+++ /dev/null
@@ -1,13 +0,0 @@
-name: minimal-system-armv5l-openbmc-aspeed-deploy
-kind: cluster
-systems:
-- morph: systems/minimal-system-armv5l-openbmc-aspeed.morph
- deploy:
- minimal-system-armv5l-openbmc-aspeed:
- type: extensions/jffs2
- location: minimal-system-armv5l-openbmc-aspeed.img
- ROOT_DEVICE: /dev/mtdblock
- BOOTLOADER_CONFIG_FORMAT: extlinux
- BOOTLOADER_INSTALL: none
- ERASE_BLOCK: 64
- INIT_SYSTEM: busybox
diff --git a/clusters/minimal-system-deploy.morph b/clusters/minimal-system-deploy.morph
deleted file mode 100644
index cf8de54f..00000000
--- a/clusters/minimal-system-deploy.morph
+++ /dev/null
@@ -1,14 +0,0 @@
-name: minimal-system-deploy
-kind: cluster
-description: |
- Deploy a minimal system to a system running KVM
-systems:
-- morph: systems/minimal-system-x86_32-generic.morph
- deploy:
- vm:
- type: extensions/kvm
- location: kvm+ssh://192.168.122.1/tiny-x86_32/srv/VMs/tiny-x86_32.img
- DISK_SIZE: 512M
- HOSTNAME: tiny-x86_32
- INIT_SYSTEM: busybox
- RAM_SIZE: 512M
diff --git a/clusters/minimal-system-x86_64-chroot-deploy.morph b/clusters/minimal-system-x86_64-chroot-deploy.morph
deleted file mode 100644
index d25fdcc8..00000000
--- a/clusters/minimal-system-x86_64-chroot-deploy.morph
+++ /dev/null
@@ -1,9 +0,0 @@
-name: minimal-system-x86_64-chroot-deploy
-kind: cluster
-systems:
-- morph: systems/minimal-system-x86_64-chroot.morph
- deploy:
- minimal-system-x86_64-chroot:
- type: extensions/tar
- location: minimal-system-x86_64-chroot.tar
- HOSTNAME: minimal-system-x86-64-chroot
diff --git a/clusters/minimal-system-x86_64-deploy.morph b/clusters/minimal-system-x86_64-deploy.morph
deleted file mode 100644
index be193b8b..00000000
--- a/clusters/minimal-system-x86_64-deploy.morph
+++ /dev/null
@@ -1,12 +0,0 @@
-name: minimal-system-x86_64-deploy
-kind: cluster
-description: |
- Deploy a minimal system
-systems:
-- morph: systems/minimal-system-x86_64-generic.morph
- deploy:
- minimal-system-x86_64-generic:
- type: extensions/rawdisk
- location: minimal-system-x86_64.img
- DISK_SIZE: 1G
- HOSTNAME: minimal-system-x86-64
diff --git a/clusters/release.morph b/clusters/release.morph
deleted file mode 100644
index fe07665f..00000000
--- a/clusters/release.morph
+++ /dev/null
@@ -1,62 +0,0 @@
-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