notes for my baypiggies presentation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

super_composition.py 406B

123456789101112131415161718192021222324252627
  1. from fabric.api import run, local
  2. def run_tests():
  3. local("echo running tests")
  4. # local("false")
  5. def push_code():
  6. local("echo pushing code")
  7. def pull_code():
  8. run("echo pulling code")
  9. def restart_webserver():
  10. run("echo restaring webserver")
  11. def deploy_changes():
  12. # will run once here for each server:
  13. run_tests()
  14. push_code()
  15. pull_code()
  16. restart_webserver()