bzppx / bzppx-codepub Goto Github PK
View Code? Open in Web Editor NEW暴走皮皮虾之代码发布系统,是现代的持续集成发布系统,由后台管理系统和agent两部分组成,一个运行着的agent就是一个节点,本系统并不是造轮子,是"鸟枪"到"大炮"的创新,对"前朝遗老"的革命.
License: MIT License
暴走皮皮虾之代码发布系统,是现代的持续集成发布系统,由后台管理系统和agent两部分组成,一个运行着的agent就是一个节点,本系统并不是造轮子,是"鸟枪"到"大炮"的创新,对"前朝遗老"的革命.
License: MIT License
发布人都是当前的登录用户名,看不到真实的发布人
创建项目不能使用匿名,比如使用github上的项目,不需要账号密码,就无法创建
java 项目需要手动写脚本编译么?
1,登录验证码,去掉数字 0,1,字母 o,i,l,因为这几个老是混淆分不清。
2,创建一个普通用户,发布代码时,进度一直在转,0%, 新开窗口查看历史显示发布成功。
3,节点列表中,IP 右边加一列显示节点备注,这样才好辨认。
直接用git clone -b dev 命令创建项目,项目默认分支dev,然后第一次发布代码错误,错误提示
Result: publish code error: reference has changed concurrently
如题, 会吸引很多人尝试.
操作失败:代码仓库地址必须是 git@ 开头!
由于某些原因禁用了默认端口22,用codepub的时候还是找的默认端口22,哪里可以配置端口?
Result: publish code error: dial tcp x.x.x.x:22: getsockopt: connection refused
每次只想发布到某台机器的时候必须去修改项目那里去掉其它机器的绑定,能不能发布的时候显示勾选哪些机器再发布??也就是绑定项目的是默认的,然后在发布页面有可勾选的操作灵活发布
cool
发布项目的时候,发布到不同的节点服务,codepub-agent 执行服务启动和关闭,
前端的负载均衡tcp端口检测,同时摘除,导致业务中断。 各位遇到这样的问题没有
【问题】
经过测试,agent客户端每次部署都是git clone xxxx (不了解具体实现方法,但效果等同),相当于将整个仓库都下载下来,但实际使用到的仅仅是最后一个commit版本,白白浪费了许多空间。
【改进建议】
git clone --depth=1 xxx
这样可以大大减少部署量,加快部署速度。
修改用户项目关系表数据后,登录普通用户账号,项目列表依然显示所有项目
~/go/src/bzppx-codepub (master ✔) ᐅ go build ./
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.
在项目管理->项目列表添加项目复制功能 ,在项目比较的多情况,每次都要重新添加,感觉好繁琐。日志功能,添加code-pub-agent 前置和后置命令功能,方便排除具体问题。是那条shell执行出错了。
用后置命令启动服务 没有成功 (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
邮件配置发送测试邮件是成功的,但是项目发版成功后邮件并没有通知
在git上拉去代码之后,执行mvn clean package 报:Result: exec post_command error: /tmp/codepub_tmp991278966.sh: line 3: mvn: command not found ,exit status 127
如题
git仓库在办公内网,生产服务器在机房内网,两者无法直接通信,这样的场景很常见,请问是否支持该场景?
类似于Jenkins,发布时可指定具体某个tag
启动:
nohup /home/codepub/codepub --conf conf/codepub.conf &
配置:
sessionprovider="file"
sessionproviderconfig=".sessions.cp"
sessiongcmaxlifetime=72000
72000 根本不起作用,一边操作 一边过期,并不是等 30 分钟无操作才过期。
跟 Nginx 反向代理 有关系吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.