Changes between Version 1 and Version 2 of deployment


Ignore:
Timestamp:
2012-12-12T16:06:50Z (12 years ago)
Author:
Kristian Rune Larsen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • deployment

    v1 v2  
    1515root@graswww2:/tmp# fab -f /usr/local/bin/deploy_romsaf_web.py -l
    1616Available commands:
    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
    2627
    2728}}}
     29
     30== Small updated to operational website ==
     31
     32Use 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
     37The above procedure should be run first on the secondary webserver `graswww2` and second on the primary webserver `graswww`.
     38
     39To examine the current status run::
     40{{{
     41fab -H graswww2 -f /usr/local/bin/deploy_romsaf_web.py status
     42}}}
     43
     44To make a dry-run use:
     45{{{
     46fab -H graswww2 -f /usr/local/bin/deploy_romsaf_web.py update_website_dry_run
     47}}}
     48
     49To install updates run:
     50{{{
     51fab -H graswww2 -f /usr/local/bin/deploy_romsaf_web.py update_website
     52}}}
     53
     54If necessary revert the changes using:
     55{{{
     56fab -H graswww2 -f /usr/local/bin/deploy_romsaf_web.py update_website_rollback
     57}}}
     58