Permalink
Browse files

We'll be deploying to revy, after all

  • Loading branch information...
1 parent f7b46ac commit e5a5208f0dce749a0845c17b97b2121a653f674d @Almad Almad committed Nov 22, 2010
Showing with 7 additions and 7 deletions.
  1. +6 −6 fabfile.py
  2. +1 −1 pavement.py
View
@@ -1,12 +1,12 @@
from fabric.api import *
env.project_docroots = project_docroots = {
- "rpgplanet" : "/srv/www/rpgplanet.cz/www_root/www/htdocs",
- "rpgscheduler" : "/srv/www/rpgplanet.cz/www_root/akce/htdocs",
+ "rpgplanet" : "/srv/rpgplanet.cz/www_root/www/htdocs",
+ "rpgscheduler" : "/srv/rpgplanet.cz/www_root/akce/htdocs",
# sub for subdomains
- "rpghrac" : "/srv/www/rpghrac.cz/www_root/htdocs/sub",
+ "rpghrac" : "/srv/rpghrac.cz/www_root/htdocs/sub",
# sub for subdomains
- "metaplayer" : "/srv/www/rpghrac.cz/www_root/htdocs/meta",
+ "metaplayer" : "/srv/rpghrac.cz/www_root/htdocs/meta",
}
# this might be read from mypage-all/runcommand.py to have things on one place
@@ -75,7 +75,7 @@ def deploy(meta_version, dist_dir, rpgplanet_version, rpghrac_version, rpgcommon
}
env.applicationpath = '/srv/applications/w-rpgplanet-cz/rpgplanet/%s' % env.meta_version
- env.user = 'w-rpgplanet-cz'
+ env.user = 'w-almad'
deploy_to_server()
@@ -111,7 +111,7 @@ def restart_services():
# this sucks and shall be handled by startup/service; when some oracle will answer
# http://stackoverflow.com/questions/3431029/socket-permissions-when-running-django-with-fastcgi
# we'll get rid of it
- run('sudo chmod 0770 /var/www/fastcgi/sockets/w-rpgplanet-cz/%s.socket' % service)
+ run('sudo chmod 0770 /var/www/fastcgi/sockets/w-almad/%s.socket' % service)
def downgrade_release():
raise NotImplementedError()
View
@@ -184,7 +184,7 @@ def deploy():
run_all_command('git tag -a release/rpgplanet-meta-%s -m "Tagging new release on %s"' % (options.version_meta, datetime.now().strftime("%Y-%m-%d %H-%M-%S")))
- sh('fab -H 80.79.23.210 deploy:meta_version=%(metaversion)s,rpgplanet_version=%(rpgplanet_version)s,rpghrac_version=%(rpghrac_version)s,rpgcommon_version=%(rpgcommon_version)s,metaplayer_version=%(metaplayer_version)s,rpgscheduler_version=%(rpgscheduler_version)s,dist_dir=%(distdir)s' % {
+ sh('fab -H revy.include.cz deploy:meta_version=%(metaversion)s,rpgplanet_version=%(rpgplanet_version)s,rpghrac_version=%(rpghrac_version)s,rpgcommon_version=%(rpgcommon_version)s,metaplayer_version=%(metaplayer_version)s,rpgscheduler_version=%(rpgscheduler_version)s,dist_dir=%(distdir)s' % {
'metaversion' : options.version_meta,
'distdir' : options.package_dir,
'rpgplanet_version' : rpgplanet.__versionstr__,

0 comments on commit e5a5208

Please sign in to comment.