snappy proposed image builder #11

Supports: trusty
Add to new model

Description

Runs snappy-proposed-image-builder service from a given service tarball (provided as files/snappy-proposed-image-builder.tgz).


Overview

This charm installs the snappy-proposed-image-builder service.

Configuration

There is only one config option for this charm:

  • config-file: A base64 encoded string with the config file to use for snappy-proposed-image-builder.

The charm expects the payload code to be provided as files/snappy-proposed-image-builder.tgz (a snapshot of lp:snappy-proposed-image-builder) along with its corresponding files/pip-cache directory (python dependencies).

The charm expects a ubuntu-device-flash binary as well

ubuntu-device-flash

Download ubuntu-device-flash source

bzr branch lp:~canonical-ci-engineering/goget-ubuntu-touch/local_image goget-ubuntu-touch

Build the CI version of ubuntu-device-flash

cd goget-ubuntu-touch/ubuntu-device-flash

# install the following packages # ubuntu-snappy-cli from ppa:snappy-dev/tools # kpartx # debsig-verify # golang

export GOPATH=~/.go mkdir $GOPATH

golang-go get golang-go build


Configuration

config-file
(string) base64 encoded string with the config file for snappy-proposed-image-builder
environment
(string) Environment (devel, staging, production, etc.) that we're running.
production