build_and_deploy.sh 966 B

1234567891011121314151617181920212223242526272829
  1. ##############################################################
  2. # 构建部署脚本
  3. ##############################################################
  4. #!/bin/bash
  5. set -e
  6. sh build.sh test dmaster
  7. #sh deploy.sh autodop-dmaster 192.168.0.211 azy &
  8. # 构建
  9. #sh build.sh test dagent
  10. ##############################################################
  11. # 测试环境
  12. ##############################################################
  13. #sh deploy.sh autodop-dagent 192.168.0.171 azy
  14. #sh deploy.sh autodop-dagent 192.168.0.172 azy
  15. #sh deploy.sh autodop-dagent 192.168.0.173 azy
  16. #sh deploy.sh autodop-dagent 192.168.0.174 azy
  17. ##############################################################
  18. # 生产环境
  19. ##############################################################
  20. #sh deploy.sh autodop-dagent 121.40.29.55 CYsZufT56vX6rr6FLD6IF1YCXiJbwv
  21. #sh deploy.sh autodop-dagent 121.41.79.44 YcxtZI6yQeeSDw0mDD7eeunwOEhAca &
  22. #sh deploy.sh autodop-dagent 121.43.234.233 sjUIYQzBEaMm1!hbh9sB &