system image server #39

  • By caio1982
  • Latest version (#39)
  • trusty
  • Stable
  • Edge

Description

Deploys system-image server for hosting touch images.

Overview

This charm deploys a subordinate for Apache that install all the dependencies and sets up an bare System Image Server as documented at https://wiki.ubuntu.com/ImageBasedUpgrades, so Ubuntu Touch images can be served for devices.

Usage

Just deploy it and add a relation to an Apache unit:

juju deploy cs:apache2
juju deploy system-image-server
juju add-relation apache2 system-image-server

From this point on it follows the standard operation of System Image Server through si-shell.

TODO

  • Amulet tests

Contact Information

Author: Caio Begotti caio.begotti@canonical.com
Original author: Francis Ginther francis.ginther@canonical.com based on Ubuntu CI Engine's charm

Configuration

install_root
(string) The root directory the service will be installed in
/srv/
cronjob
(string) Cronjob of the image server, useful for periodic importing of images (base64 encoded)
revno
(string) Revision or tag to branch from
keyowner
(string) E-mail to be used when generating the service GPG keys (if empty it will use testing keys)
fqdn
(string) FQDN of the host unit that this charm relates to, used with install_root to determine the installation path too
system-image.staging.ubuntu.com
tarball
(string) A URL to a tarball of the code
shell
(string) A batch of commands to be passed to si-shell during post-deployment (base64 encoded)
config_template
(string) Image server config template (base64 encoded)
vcs
(string) Grab code from a bzr 'branch' or a URL to a 'tarball'
branch
branch
(string) BZR branch the service lives in
lp:~ubuntu-system-image/ubuntu-system-image/server
channel_devices
(string) List of pairs with devices for creation and their channel relation
ubuntu-touch/devel:mydevice ubuntu-touch/devel-current:mydevice ubuntu-touch/qa:otherdevice
packages
(string) Packages required for this service
bzr abootimg android-tools-fsutils python-gnupg python-gpgme fakeroot pxz pep8 pyflakes python-mock haveged tree cron