Giter Club home page Giter Club logo

Comments (8)

welliamcao avatar welliamcao commented on June 26, 2024

编辑命令能贴一下吗。

from opsmanage.

JuneyQiu avatar JuneyQiu commented on June 26, 2024

image

from opsmanage.

JuneyQiu avatar JuneyQiu commented on June 26, 2024

这是一个前端项目,使用nodejs编译,项目发布配置没有做过变更,就突然编译完卡住,查看release目录已经打好包,就是不往目标服务器推送。不清楚哪里卡住。
目前只能使用临时方法,在部署主机上写脚本,执行deploy。使用脚本,scp 到目标主机均执行正常;
scp /apps/Deploy/release/$project_name/$dirname $dest_host:/apps/dat/web/tmp/$project_name/
请大神指点一下。为什么同样的操作,界面执行就有问题。
为了及时沟通,有任务疑问可以随时邮件沟通,谢谢

from opsmanage.

welliamcao avatar welliamcao commented on June 26, 2024

是不会仓库访问网络延迟了。

from opsmanage.

JuneyQiu avatar JuneyQiu commented on June 26, 2024

NPM也有打包成功;就是不推送到目标机器;是超时了吗?所以不执行后续推送的任务;

from opsmanage.

welliamcao avatar welliamcao commented on June 26, 2024

目标服务器能通过ssh进行连接吗?

from opsmanage.

JuneyQiu avatar JuneyQiu commented on June 26, 2024

目标机器可以通过ssh连接。我现在上版是半自动化的,cmdb页面编译打包,然后在cmdb主机上写脚本推送。都可以的;

from opsmanage.

welliamcao avatar welliamcao commented on June 26, 2024

怀疑是npm编译的时间超过django的默认http超时时间了。或者使用使用ansible rsync模块直接同步看看会不会卡住。方便的话,我远程协助帮你看看。

from opsmanage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.