51.sers压测-publish.sh 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. set -e
  2. #---------------------------------------------------------------------
  3. #(x.1)参数
  4. args_="
  5. export codePath=/root/temp/svn/dotnet
  6. # "
  7. #----------------------------------------------
  8. echo "(x.2)sers压测-publish单体压测(netcoreapp2.1)"
  9. netVersion=netcoreapp2.1
  10. basePath=$codePath/Doc/Publish/Sers压测/sers压测-单体压测$netVersion
  11. mkdir -p $basePath
  12. echo "copy ServiceCenter"
  13. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/ServiceCenter $basePath
  14. echo "copy demo"
  15. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Demo/wwwroot $basePath/ServiceCenter
  16. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Demo/Did.SersLoader.Demo.dll $basePath/ServiceCenter
  17. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Demo/Did.SersLoader.Demo.pdb $basePath/ServiceCenter
  18. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Demo/Did.SersLoader.Demo.xml $basePath/ServiceCenter
  19. echo 'copy robot'
  20. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Robot/wwwroot $basePath/ServiceCenter
  21. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Robot/App.Robot.Station.dll $basePath/ServiceCenter
  22. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Robot/App.Robot.Station.pdb $basePath/ServiceCenter
  23. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Robot/App.Robot.Station.xml $basePath/ServiceCenter
  24. echo 'copy PublishFile'
  25. \cp -rf $codePath/Doc/PublishFile/Sers压测/单体压测/. $basePath
  26. #----------------------------------------------
  27. echo "(x.3)sers压测-publish单体压测(net6.0)"
  28. netVersion=net6.0
  29. basePath=$codePath/Doc/Publish/Sers压测/sers压测-单体压测$netVersion
  30. mkdir -p $basePath
  31. echo "copy ServiceCenter"
  32. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/ServiceCenter $basePath
  33. echo "copy demo"
  34. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Demo/wwwroot $basePath/ServiceCenter
  35. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Demo/Did.SersLoader.Demo.dll $basePath/ServiceCenter
  36. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Demo/Did.SersLoader.Demo.pdb $basePath/ServiceCenter
  37. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Demo/Did.SersLoader.Demo.xml $basePath/ServiceCenter
  38. echo 'copy robot'
  39. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Robot/wwwroot $basePath/ServiceCenter
  40. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Robot/App.Robot.Station.dll $basePath/ServiceCenter
  41. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Robot/App.Robot.Station.pdb $basePath/ServiceCenter
  42. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Robot/App.Robot.Station.xml $basePath/ServiceCenter
  43. echo 'copy PublishFile'
  44. \cp -rf $codePath/Doc/PublishFile/Sers压测/单体压测/. $basePath
  45. #----------------------------------------------
  46. echo "(x.4)sers压测-publish分布式压测(netcoreapp2.1)"
  47. netVersion=netcoreapp2.1
  48. basePath=$codePath/Doc/Publish/Sers压测/sers压测-分布式压测$netVersion
  49. mkdir -p $basePath
  50. echo "copy station"
  51. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/ServiceCenter $basePath
  52. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Demo $basePath
  53. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Robot $basePath
  54. echo "copy PublishFile"
  55. \cp -rf $codePath/Doc/PublishFile/Sers压测/分布式压测/. $basePath
  56. #----------------------------------------------
  57. echo "(x.5)sers压测-publish分布式压测(net6.0)"
  58. netVersion=net6.0
  59. basePath=$codePath/Doc/Publish/Sers压测/sers压测-分布式压测$netVersion
  60. mkdir -p $basePath
  61. echo "copy station"
  62. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/ServiceCenter $basePath
  63. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Demo $basePath
  64. \cp -rf $codePath/Doc/Publish/SersPublish/$netVersion/Robot $basePath
  65. echo "copy PublishFile"
  66. \cp -rf $codePath/Doc/PublishFile/Sers压测/分布式压测/. $basePath