Nova Resource:Codereview/HowTo
Appearance
HowTo...
Test a change
- login into the instance: ssh to primary.bastion.wmflabs.org, then
ssh cr1 cd /srv/mediawiki-vagrant- verify that the instance is offline:
vagrant status- If the instance status is not "running (lxc)", someone other may be currently testing a change or forget to halt the instance. Please take a look at Nova Resource:Codereview/SAL and ask the latest tester, if he is currently testing
- If the instance status is "stopped (lxc)", you can continue
- Start the instance
vagrant up
- Update the repos:
vagrant git-update - Switch to the repo, where you want to test a change:
/srv/mediawiki-vagrant/mediawikifor core,/srv/mediawiki-vagrant/mediawiki/extensions/<name of the extension>for a extension - fetch the change from gerrit with the fetch link
- Go to #wikimedia-cloud connect at IRC, and log that you're testing like this:
!log codereview fetching <link to gerrit patch> to make tests - Make you're tests. You can use the admin account (Luke081515 will give you the password for the admin account), if you need more usersrights. Feel free to modify global groups for testing combinations, but please revert everything, if you finished you're testing. The next tester don't want to change a lot, before he can start.
- Log that you're finished:
!log codereview finished tests, Result <Ok/Not ok> - shutdown the vagrant-instance to prevent spam and other things:
vagrant halt - now you can diconnect from the instance