Updated fabfile 'push' target to new remote file path.
authorGregg Lind <glind@mozilla.com>
Sun, 24 Nov 2013 14:26:10 -0600
changeset 1013 e2df65bdd35db9aee346ad16466e3eb26947c0b0
parent 1012 0de84db8abcaa4b8e83509862954c748c350676a
child 1014 efe48d685e9e4162439eb0a62c6bfe0705a6b249
push id848
push userglind@mozilla.com
push dateSun, 24 Nov 2013 20:26:17 +0000
Updated fabfile 'push' target to new remote file path.
fabfile.py
--- a/fabfile.py
+++ b/fabfile.py
@@ -109,17 +109,17 @@ def clear(profile):
 @task
 @hosts(['testpilot1.vm.labs.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("/var/www"):
+            with cd("/opt/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):