Skip to content

Golang 实现的自动化部署和运维工具,支持:Github / GitLab / GitOsc。

License

Notifications You must be signed in to change notification settings

0w0Neko/go-git-webhook

Repository files navigation

go-git-webhook

Build Status

一个基于 Golang 开发的用于迅速搭建并使用 WebHook 进行自动化部署和运维系统,支持:Github / GitLab / GitOsc。

界面和开发思路参考于 git-webhook

在原作者的基础上解耦了WebHook和Server之间关系,实现了多对多关系。

因与服务器通信使用的是SSH方式,请注意保管服务器账号和密码。

如何使用?

1、拉取源码

git pull github.com/lifei6671/go-git-webhook

2、编译源码

go build main.go

3、运行

chmod 0777 go-git-webhook

#恢复数据库,请提前创建一个空的数据库
./go-git-webhook orm syncdb webhook

#创建管理员账户
./go-git-webhook install -account=admin -password=123456 [email protected]

使用技术

go-git-webhook 基于beego框架1.7.2版本开发。编译于golang 1.8版本。使用glide作为包管理工具。

界面预览

WebHook

New WebHook

WebHook And Server List

New Server

Scheduler List

问题反馈

如发现 BUG 请在issue中反馈。

About

Golang 实现的自动化部署和运维工具,支持:Github / GitLab / GitOsc。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.5%
  • HTML 3.0%
  • Other 0.5%