Changes between Version 1 and Version 2 of SysAdmin/Jenkins


Ignore:
Timestamp:
02/07/11 16:02:23 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SysAdmin/Jenkins

    v1 v2  
    1414cd /home/web2py/applications/sqlite
    1515bzr pull
    16 rm -rf "/home/web2py/applications/sqlite/databases"
    17 rm -rf "/home/web2py/applications/sqlite/errors"
    18 rm -rf "/home/web2py/applications/sqlite/sessions"
     16rm -rf "/home/web2py/applications/sqlite/databases/*"
     17rm -rf "/home/web2py/applications/sqlite/errors/*"
     18rm -rf "/home/web2py/applications/sqlite/sessions/*"
    1919cp -f "/home/web2py/applications/sqlite/deployment-templates/models/000_config.py" "/home/web2py/applications/sqlite/models"
    2020sed -i 's|EDITING_CONFIG_FILE = False|EDITING_CONFIG_FILE = True|' "/home/web2py/applications/sqlite/models/000_config.py"
     
    3030cd /home/web2py/applications/postgresql
    3131bzr pull
    32 rm -rf "/home/web2py/applications/postgresql/databases"
    33 rm -rf "/home/web2py/applications/postgresql/errors"
    34 rm -rf "/home/web2py/applications/postgresql/sessions"
     32rm -rf "/home/web2py/applications/postgresql/databases/*"
     33rm -rf "/home/web2py/applications/postgresql/errors/*"
     34rm -rf "/home/web2py/applications/postgresql/sessions/*"
    3535su -c - postgres "dropdb sahana" && true
    3636su -c - postgres "createdb -O sahana sahana"
     
    5555cd /home/web2py/applications/mysql
    5656bzr pull
    57 rm -rf "/home/web2py/applications/mysql/databases"
    58 rm -rf "/home/web2py/applications/mysql/errors"
    59 rm -rf "/home/web2py/applications/mysql/sessions"
     57rm -rf "/home/web2py/applications/mysql/databases/*"
     58rm -rf "/home/web2py/applications/mysql/errors/*"
     59rm -rf "/home/web2py/applications/mysql/sessions/*"
    6060mysqladmin -f drop sahana
    6161mysqladmin create sahana