Set up automated updates of staging
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:
- 2012.06
- Started by
- Fathi Boudra
- Completed by
- Michael Hudson-Doyle
Related branches
Related bugs
Sprints
Whiteboard
Meta:
Headline: staging.
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