Code Monkey home page Code Monkey logo

bzppx / bzppx-codepub Goto Github PK

View Code? Open in Web Editor NEW
488.0 488.0 138.0 7.92 MB

暴走皮皮虾之代码发布系统,是现代的持续集成发布系统,由后台管理系统和agent两部分组成,一个运行着的agent就是一个节点,本系统并不是造轮子,是"鸟枪"到"大炮"的创新,对"前朝遗老"的革命.

License: MIT License

Go 99.90% Shell 0.10%
c ci codepub con continuous-delivery continuous-deployment continuous-integration continuous-testing cpp git golang java jenkins nodejs php ruby

bzppx-codepub's People

Contributors

phachon avatar phpengineer avatar snail007 avatar yincongcyincong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bzppx-codepub's Issues

问题反馈

1,登录验证码,去掉数字 0,1,字母 o,i,l,因为这几个老是混淆分不清。

2,创建一个普通用户,发布代码时,进度一直在转,0%, 新开窗口查看历史显示发布成功。

3,节点列表中,IP 右边加一列显示节点备注,这样才好辨认。

go build ./

image
这个有问题吧
还是
import (
_ "bzppx-codepub/app"
"github.com/astaxie/beego"
)
打包找不到路径呀
如果用go get 去src里面找的也不该这样导入吧??

ssh拉代码端口不是默认22时报错

由于某些原因禁用了默认端口22,用codepub的时候还是找的默认端口22,哪里可以配置端口?
Result: publish code error: dial tcp x.x.x.x:22: getsockopt: connection refused

git 仓库过大的问题

【问题】
经过测试,agent客户端每次部署都是git clone xxxx (不了解具体实现方法,但效果等同),相当于将整个仓库都下载下来,但实际使用到的仅仅是最后一个commit版本,白白浪费了许多空间。

【改进建议】
git clone --depth=1 xxx
这样可以大大减少部署量,加快部署速度。

go build ./ 报错

~/go/src/bzppx-codepub (master ✔) ᐅ go build ./

bzppx-codepub

ld: warning: text-based stub file /System/Library/Frameworks//IOKit.framework/IOKit.tbd and library file /System/Library/Frameworks//IOKit.framework/IOKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.

后置命令怎么用

用后置命令启动服务 没有成功 (go run xxx.go),能给个例子吗

安装失败

Request Method: GET
Request URL: /
RemoteAddr: 127.0.0.1
Stack

/usr/local/go/src/runtime/asm_amd64.s:514
/usr/local/go/src/runtime/panic.go:489
/home/phachon/code/github-go/src/bzppx-codepub/vendor/github.com/astaxie/beego/template.go:73
/home/phachon/code/github-go/src/bzppx-codepub/vendor/github.com/astaxie/beego/controller.go:256
/home/phachon/code/github-go/src/bzppx-codepub/vendor/github.com/astaxie/beego/controller.go:207
/home/phachon/code/github-go/src/bzppx-codepub/vendor/github.com/astaxie/beego/controller.go:187
/home/phachon/code/github-go/src/bzppx-codepub/install/controllers/base.go:53
/home/phachon/code/github-go/src/bzppx-codepub/install/controllers/install.go:21
/usr/local/go/src/runtime/asm_amd64.s:514
/usr/local/go/src/reflect/value.go:434
/usr/local/go/src/reflect/value.go:302
/home/phachon/code/github-go/src/bzppx-codepub/vendor/github.com/astaxie/beego/router.go:816
/usr/local/go/src/net/http/server.go:2568
/usr/local/go/src/net/http/server.go:1825
/usr/local/go/src/runtime/asm_amd64.s:2197

beego 1.8.3 (beego framework)

golang version: go1.8.3

登录后 30分钟就超时退出

启动:
nohup /home/codepub/codepub --conf conf/codepub.conf &

配置:
sessionprovider="file"
sessionproviderconfig=".sessions.cp"
sessiongcmaxlifetime=72000

72000 根本不起作用,一边操作 一边过期,并不是等 30 分钟无操作才过期。

跟 Nginx 反向代理 有关系吗?

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.