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.

composition.py 339B

1234567891011121314151617181920212223
  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_code_to_servers():
  12. pull_code()
  13. restart_webserver()