Set up automated updates of staging

Registered by Michael Hudson-Doyle

We want to have staging updated automatically from the trunk branches of the various projects on a regular basis (probably daily).

Blueprint information

Status:
Complete
Approver:
Andy Doan
Priority:
Medium
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
Fathi Boudra
Completed by
Michael Hudson-Doyle

Whiteboard

Meta:
Headline: staging.validation.linaro.org features automated updates, directly from LAVA components
 repositories.
Acceptance: staging is updated automatically on a daily basis from the trunk branches of the various LAVA components.

(?)

Work Items

Work items:
figure out steps involved in upgrading staging code: DONE
figure out steps involved in updating staging db: DONE
write code to upgrade staging code: DONE
write code to upgrade staging db: DONE
set up cronjobs on staging to do this automatically: DONE
edit sudoers to allow restarting staging w/o password: DONE
write code to set all devices to offline etc after db restore: DONE
wait 24 hours or so to check cronjobs work: DONE

This blueprint contains Public information 
Everyone can see this information.