GithubHelp home page GithubHelp logo

connectionmaster / github-webhook-sync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kistek/github-webhook-sync

0.0 0.0 0.0 27 KB

On github webhook, sync local repository with remote

Go 47.95% Shell 52.05%

github-webhook-sync's Introduction

Clone git repos into folder based on description file/secret or crd

Repo description file in yaml form:

How to know which branch was used in a webhook? look in ref - refs/heads/branch

need security token for two factor auths

    git config credential.helper '!f() { sleep 1; echo "username=${GIT_USER}\npassword=${GIT_PASSWORD}"; }; f'

Supported git Transfer Protocols

We currently support http because http is the only authentication method with scoped authorization

If requested I will add ssh and file support

Future Work

  • We will want to watch the secrets folder / config path and update accordingly so we don't need to do a rolling restart when the secret changes
  • Allow target repo path to be configured per repository instead of en masse
  • If there is sufficient use-case we could switch to CRD driven repository descriptions instead of secret ones
  • What should we do if two repositories are named identically? Require different target path?

github-webhook-sync's People

Contributors

chrishiestand 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.