Switch to buildout for deployment

Registered by Michael Hudson-Doyle

pip has proven to be too unreliable and makes reproducibility too hard, causing real problems with trying to get our code to our users as quickly as possible. We will move to buildout (http://www.buildout.org) instead.

The way buildout works makes it a natural fit to implement the 'codelines' idea we have discussed from time to time.

Blueprint information

Status:
Complete
Approver:
Andy Doan
Priority:
High
Drafter:
Michael Hudson-Doyle
Direction:
Approved
Assignee:
Michael Hudson-Doyle
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.06
Started by
Michael Hudson-Doyle
Completed by
Michael Hudson-Doyle

Sprints

Whiteboard

Meta:
Acceptance: The production instance on control uses buildout
Headline: Deployments now use zc.buildout and are more reliable and reproducible.

(?)

Work Items

Work items:
experiment with buildout to the point where we're confident it will work for us: DONE
make branch of lava-server that uses buildout to install: DONE
create local instance using buildout: DONE
convert l-d-t to create buildout based instance: DONE
experiment with converting venv instance to buildout instance: DONE
script up conversion of venv instance to buildout instance: DONE
write email to team explaining plan: DONE
test on staging.validation.linaro.org: DONE
convert production on validation.linaro.org: DONE
perform at least one upgrade of validation.linaro.org on production: TODO

This blueprint contains Public information 
Everyone can see this information.