Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以考虑和pgm命令结合进行 批量的热更新吗? #6

Open
shenxs opened this issue Aug 20, 2020 · 1 comment
Open

可以考虑和pgm命令结合进行 批量的热更新吗? #6

shenxs opened this issue Aug 20, 2020 · 1 comment

Comments

@shenxs
Copy link

shenxs commented Aug 20, 2020

插件非常实用,可以考虑一下通过pgm命令来进行批量的热部署么?示例代码如下

pgm -f host-name -b -A 'sudo su admin -c  "cd ~ ; sudo curl -L http://xxxtai-arthas-hot-swap.oss-cn-beijing.aliyuncs.com/public/********************=x  > HotSwapScript4OneClass.sh ; chmod +x HotSwapScript4OneClass.sh; yes | ./HotSwapScript4OneClass.sh  xxx xxx "'
@xxxtai
Copy link
Owner

xxxtai commented Sep 3, 2020

这个插件最好不要在线上生产环境使用,容易造成生产事故。开发环境一般机器就一两台,批量场景可能不是很多,如果题主需要,可以拉个分支改下,新增一个action,我会合master并打包出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants