|
|
| Line 31: |
Line 31: |
| = Testing/Updating = | | = Testing/Updating = |
|
| |
|
| Basic patch testing can be done on cruncher which has netflows open to the database server. Run clobberer's index.php from the command-line and [http://stackoverflow.com/questions/5655284/how-to-pass-parameters-from-command-line-to-post-in-php-script pass parameters] to the script by temporarily pasting this snippet above the first include statement:
| | Clobberer is a Flask blueprint, and part of the RelengAPI project. For information about Testing/Updating see the project readme: https://github.com/mozilla/build-relengapi-clobberer |
| | |
| /* if started from commandline, wrap parameters to $_POST and $_GET */
| |
| if (!isset($_SERVER["HTTP_HOST"])) {
| |
| parse_str($argv[1], $_GET);
| |
| parse_str($argv[1], $_POST);
| |
| }
| |
| | |
| And run the script like so:
| |
| | |
| $ php index.php 'branch=mozilla-inbound'
| |
| | |
| Redirect STDOUT to a file and compare before/after output and script timings to ensure your changes run as expected. Attach a patch to a bug, get review, and proceed to [https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=24805981#clobberer.pvt.build.mozilla.orgetal.-Monitoring mana page] for deployment instructions.
| |
|
| |
|
| = More = | | = More = |
| See [https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=24805981 the websites page] | | See [https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=24805981 the websites page] |