Coder Social home page Coder Social logo

fuse's Introduction

简介

目前开发工作中,团队通过Gitlab进行版本管理及协作,充分利用Git分支模型,并且所有分支的测试环境共用一台测试服务器。

大家都希望代码push到gitlab后,测试环境的代码能够自动更新,这样能少些重复登录服务器pull代码的操作,也省些脑力负担。

这时Gitlab的webhook功能就派上用场了。webhook是一种HTTP API回调功能,当开发者向Gitlab的代码库push代码或者做其他操作时,会触发这个/些回调, 往回调中发事件数据。

fuse是一个针对webhook的HTTP API实现,可以适配Github、Gitlab、Gogs等平台,特别适用于多开发测试分支的代码库。

实现原理

fuse-arch

管理界面

fuse-console

部署

  1. go get github.com/youngsterxyf/fuse
  2. cd $GOPATH/src/github.com/youngsterxyf/fuse
  3. 编译源码:go build fuse,也可以拷贝$GOPATH/bin/fuse到当前目录(go get已经编译好了fuse)
  4. 编辑conf/app.json文件,修改配置
  5. 运行程序:./fuse

fuse's People

Contributors

kitelife avatar

Watchers

zhang jian avatar  avatar

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.