Fabfile updated to new hosts and paths for "push" action.
authorGregg Lind <glind@mozilla.com>
Thu, 31 Jul 2014 09:07:32 -0500
changeset 1035 5284ac662ddb
parent 1034 e364765a0366
child 1036 73d69aca2009
push id866
push userglind@mozilla.com
push dateThu, 31 Jul 2014 14:07:38 +0000
Fabfile updated to new hosts and paths for "push" action.
fabfile.py
--- a/fabfile.py
+++ b/fabfile.py
@@ -102,24 +102,24 @@ def clear(profile):
     """ clear:profile.  removes downloaded experiments, logs, manifests from profile <profile>"""
     p = find_profile_dir(profile)
     d = "%s/TestPilotExperimentFiles" % p
     local('rm -rf "%s"/TestPilotErrorLog.log' % p)
     local('rm -rf "%s"/*' % (d,))
     local('tree "%s"' % (d,))
 
 @task
-@hosts(['testpilot1.vm.labs.scl3.mozilla.com'])
+@hosts(['testpilot1.webapp.scl3.mozilla.com'])
 def push():
     """
     sudo hg pull;  call:  fab push -u user.name
     """
     if confirm("You did 'hg ci; hg pull; hg up; hg push' right?"):
         if confirm("You did change the sample size and turn of debugging, right?"):
-            with cd("/opt/www/testpilotweb"):
+            with cd("/data/www/testpilotweb/"):
                 sudo("hg pull")
                 result = sudo("hg tip")
                 print "###### hg tip #####"
                 print result
                 if confirm("Upgrade to that tip?"):
                     sudo("hg update")
 
 def rollback(rev_or_id):