Set up automated updates of staging

Registered by Michael Hudson-Doyle on 2012-05-02

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 on 2012-05-03
Completed by
Michael Hudson-Doyle on 2012-06-25

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.