51.docker-deploy-copy.sh 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. set -e
  2. #---------------------------------------------------------------------
  3. #(x.1)参数
  4. args_="
  5. export basePath=/root/temp/svn
  6. # "
  7. #---------------------------------------------------------------------
  8. #(x.2)
  9. publishPath="$basePath/Publish/release/release/Station(net5.0)"
  10. deployPath=$basePath/Publish/release/release/docker-deploy
  11. #----------------------------------------------
  12. echo "(x.3)copy dir"
  13. \cp -rf "$basePath/Publish/ReleaseFile/docker-deploy/." "$deployPath"
  14. #---------------------------------------------------------------------
  15. echo "(x.4)copy station"
  16. \cp -rf "$publishPath/ServiceCenter/appsettings.json" "$deployPath/sers"
  17. \cp -rf "$publishPath/Gateway/appsettings.json" "$deployPath/sers-gateway"
  18. \cp -rf "$publishPath/Gover/appsettings.json" "$deployPath/sers-gover"
  19. \cp -rf "$publishPath/Demo/appsettings.json" "$deployPath/sers-demo"
  20. \cp -rf "$publishPath/Robot/appsettings.json" "$deployPath/sers-demo-robot"
  21. \cp -rf "$basePath/Publish/release/release/StressTest/单体压测net5.0/ServiceCenter/appsettings.json" "$deployPath/sers-demo-sersall"