← Back to team overview

yellow team mailing list archive

My manual tests in ec2

 

Just to share the steps I am currently following to test install-lxc.
Hopefully integration tests now in trunk will obsolete these manual
checks, but maybe someone could still be interested, and maybe the
buildbot story could be automated.

Each example must be run once logged in an ec2 instance and run *sudo
-i*, $BRANCH is the branch you are working on $USER is your username, etc...


DEVELOPMENT BRANCH - USER STORY - SSH - LIGHTWEIGHT CHECKOUT:

apt-add-repository --yes ppa:yellow/ppa && apt-get update && apt-get
install -y python-shelltoolbox bzr && adduser $USER && adduser $USER
admin && tmux

su - $USER
ssh-keygen -t rsa && cat .ssh/id_rsa.pub
[COPY KEY IN LAUNCHPAD]
bzr whoami "$FULLNAME <$EMAIL@xxxxxxxxxxxxx>"

bzr branch http://bazaar.launchpad.net/~$USER/lpsetup/$BRANCH mybranch
cd mybranch
sudo python setup.py install
lp-setup install-lxc -B `bzr info | grep parent | cut -c 18-`


DEVELOPMENT BRANCH - BUILDBOT STORY - HTTP - NORMAL BRANCH:

apt-add-repository --yes ppa:yellow/ppa && apt-get update && apt-get
install -y python-shelltoolbox bzr buildbot && usermod -s /bin/sh
buildbot && tmux

bzr branch http://bazaar.launchpad.net/~$USER/lpsetup/$BRANCH mybranch
cd mybranch
python setup.py install
lp-setup install-lxc -B `bzr info | grep parent | cut -c 18-` -u
buildbot -E launchpad-pqm@xxxxxxxxxxxxx -f 'Launchpad PQM' -r
/var/lib/buildbot/slaves/slave --no-checkout -S launchpad_lxc_id_rsa
--use-http


-- 
Francesco Banconi