17 | | |
18 | | backup_ropp backup existing ropp files |
19 | | deploy_ropp Deploy a new ropp release |
20 | | deploy_website Deploy new website version from tag |
21 | | prepare_ropp Tar ROPP distribution and database tables, requi... |
22 | | restore_ropp backup existing ropp files |
23 | | status Show subversion state on operational servers |
24 | | update_website Update operational website |
25 | | update_website_dry_run Dry-run of update on operational website |
| 17 | backup_ropp backup existing ropp files |
| 18 | clean_local_changes Clean local changes on operational webserver |
| 19 | deploy_ropp Deploy a new ropp release |
| 20 | deploy_website Deploy new website version from tag |
| 21 | prepare_ropp Tar ROPP distribution and database tables, requ... |
| 22 | restore_ropp Restore from previous ropp backup files |
| 23 | status Show subversion state on operational servers |
| 24 | update_website Update operational website |
| 25 | update_website_dry_run Dry-run of update on operational website |
| 26 | update_website_rollback Rollback update of the operational website |
| 29 | |
| 30 | == Small updated to operational website == |
| 31 | |
| 32 | Use the following procedure to upload small changes to the operational website: |
| 33 | 1. examine current status of the website |
| 34 | 1. make a dry-run to see how the changes will uploaded |
| 35 | 1. if everything looks ok, make the actual upload |
| 36 | |
| 37 | The above procedure should be run first on the secondary webserver `graswww2` and second on the primary webserver `graswww`. |
| 38 | |
| 39 | To examine the current status run:: |
| 40 | {{{ |
| 41 | fab -H graswww2 -f /usr/local/bin/deploy_romsaf_web.py status |
| 42 | }}} |
| 43 | |
| 44 | To make a dry-run use: |
| 45 | {{{ |
| 46 | fab -H graswww2 -f /usr/local/bin/deploy_romsaf_web.py update_website_dry_run |
| 47 | }}} |
| 48 | |
| 49 | To install updates run: |
| 50 | {{{ |
| 51 | fab -H graswww2 -f /usr/local/bin/deploy_romsaf_web.py update_website |
| 52 | }}} |
| 53 | |
| 54 | If necessary revert the changes using: |
| 55 | {{{ |
| 56 | fab -H graswww2 -f /usr/local/bin/deploy_romsaf_web.py update_website_rollback |
| 57 | }}} |
| 58 | |