← Back to team overview

canonical-ci-engineering team mailing list archive

Re: Juju's local provider and btrfs (component deployment in 3.5 minutes)

 

One possible optimisation is combining parts of Kapil's quick
provisioning with what the bakery command is doing for cloud images:

sudo lxc-start -d -n juju-precise-template
sudo lxc-attach -n juju-precise-template -- apt-add-repository -y
ppa:canonical-ci-engineering/ci-airline-phase-0
sudo lxc-attach -n juju-precise-template -- apt-get update
sudo lxc-attach -n juju-precise-template -- apt-get install -y bzr
dput qemu-utils python-dput python-jenkins python-swiftclient
python-novaclient python-glanceclient python-amqplib python-oauth
python-launchpadlib python-tastypie python-django-south python-yaml
python-lazr.enum python-requests python-jinja2
sudo lxc-attach -n juju-precise-template -- apt-get -yu upgrade
sudo lxc-attach -n juju-precise-template -- rm -Rf /var/lib/cloud
sudo lxc-stop -n juju-precise-template


Follow ups

References