GithubHelp home page GithubHelp logo

spring-operator / auto-merge-upstream Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmware-archive/auto-merge-upstream

0.0 1.0 0.0 12 KB

A utility for automatically merging an upstream repository

License: Apache License 2.0

Groovy 100.00%

auto-merge-upstream's Introduction

Auto-merge Upstream

This project is a self-hostable application that provides an easy way to automate the merging of an upstream Git repository into a downstream Git repository. In the case where a merge fails, an email is sent, notifying the recipients that this failure has occurred.

In order to facilitate self-hosting, the application is designed to work in Cloud Foundry.

Configuration

Since the application is designed to work in a PaaS environment, all configuration is done with environment variables.

Key Description
UPSTREAM_URI The Git URI of the upstream repository. NOTE: This URI can include credential information for private repositories.
DOWNSTREAM_URI The Git URI of the downstream repository. NOTE: This URI can include credential information for private repositories.
FROM_ADDRESS The email address to send failure notifications from
TO_ADDRESS The email address to send failure notifications to

Deployment

The following instructions assume that you have created an account and installed the cf command line tool.

In order to automate the deployment process as much as possible, the project contains a Cloud Foundry manifest. To deploy run the following commands:

cf push --no-start
cf set-env auto-merge-upstream UPSTREAM_URI <value>
cf set-env auto-merge-upstream DOWNSTREAM_URI <value>
cf set-env auto-merge-upstream FROM_ADDRESS <value>
cf set-env auto-merge-upstream TO_ADDRESS <value>
cf start

License

The project is released under version 2.0 of the Apache License.

auto-merge-upstream's People

Contributors

nebhale avatar

Watchers

 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.