kespinola / serverless-gitflow

Easily manage gitflow with helpful endpoints for creating candidates and releases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serverless Gitflow

Easily manage gitflow with helpful endpoints for creating candidates and releases.

candidate body

Milestones

  • Create candidate branch
  • Make pull request from candidate to master
  • Build PR message using merge pull commits
    • Calculate pulls since last master merge
    • Link to Pull Request
    • Pull Feature Labels
    • Note Assign
    • Slack assign
  • After merge into master release webhook tags a new release
  • Smart calculate version

Set Up

  1. npm install -g serverless
  2. sls project init
  3. npm i

Environment Variables

Set in _meta/Variables/s-variables-common.json

"project": "serverless-gitflow",
"github_token": "<GITHUB_TOKEN>",
"repo": "prism-serverless",
"master_branch": "master",
"develop_branch": "develop",
"candidate_name": "candidate"

Supported Endpoints

candidate~POST

sls function run candidate - Locally
/gitflow candidate serverless-gitflow - Slack
  1. Creates a candidate for the repo by comparing master vs develop.
  2. Shows list of merge pull requests
  3. Notifies assignees of release

release~POST

About

Easily manage gitflow with helpful endpoints for creating candidates and releases.


Languages

Language:JavaScript 100.0%