I've partially set up dogfood today and wrote up the steps in more detail: https://wiki.linaro.org/Platform/LAVA/DevOps/SettingUpStaging
If someone wants to start automating some of this, I won't be stopping them! Cheersm mwh Michael Hudson-Doyle <[email protected]> writes: > Michael Hudson-Doyle <[email protected]> writes: > >> Michael Hudson-Doyle <[email protected]> writes: >> >>> Michael Hudson-Doyle <[email protected]> writes: >>> >>>> Luckily lava-deployment-tool makes the set up pretty easy :-) >>> >>> So ftr, here are the steps involved in setting up staging: >>> >>> 0) Create the instance-manager account >>> 1) Run ldt setup, ldt install >>> 2) Set up the devices >>> - this was the most tedious step >>> - this includes copying the reset-serial and pdu control scripts >>> 3) run ldt restore-db >>> 4) Set up the cronjobs to make the deployment-report and do code updates >>> daily >>> 5) Put branches in /srv/lava/branches/ > > I forgot to set the instance up to _use_ these branches here! > >>> 6) Set up apache to SetHandler none /deployment-report.xhtml, >>> /staging-updates.txt through + create symlinks for same. >>> 7) Allow instance-manger to run appropriate commands without a password >> >> There is more, sadly: >> >> 8) realize that you should have run restore-staging-db, not ldt >> restore-db. >> 9) fix the fact that this doesn't work any more due to django being rubbish >> 10) create /linaro/tmp and /linaro/cache directories >> 11) Realize that you need to set up Apache so that the device can >> download the test image tarballs. >> >> Maybe that's it? >> >> Cheers, >> mwh >> >>> Luckily an awful lot of the staging-specific stuff had not been purged >>> from control so I could copy this across. But it was still a pain -- >>> maybe I'll script it up when I do dogfood! >>> >>> Cheers, >>> mwh _______________________________________________ linaro-validation mailing list [email protected] http://lists.linaro.org/mailman/listinfo/linaro-validation
