Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flexoid/pivotal-codereview-gitlab
Code Review integration helper for Gitlab
https://github.com/flexoid/pivotal-codereview-gitlab
code-review elixir gitlab pivotal-tracker
Last synced: 13 days ago
JSON representation
Code Review integration helper for Gitlab
- Host: GitHub
- URL: https://github.com/flexoid/pivotal-codereview-gitlab
- Owner: flexoid
- Created: 2017-03-31T22:17:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-20T14:19:38.000Z (about 7 years ago)
- Last Synced: 2024-10-12T07:50:01.603Z (3 months ago)
- Topics: code-review, elixir, gitlab, pivotal-tracker
- Language: Elixir
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/flexoid/pivotal-codereview-gitlab.svg?branch=master)](https://travis-ci.org/flexoid/pivotal-codereview-gitlab)
# Pivotal Tracker - Gitlab Code Review
**Code Review integration helper for Gitlab**
Set specified label (default `on_code_review` ) to Pivotal Tracker when merge request is opened, and remove tag when request is marged or closed.
Can be useful, as Pivotal Tracker stories cannot have any custom statuses between "started" and "finished", to mark that story are finished, but not merged in main branch yet.
## Installation
Firstly, prepare config:
```
cp config/prod.exs.example config/prod.exs
vim config/prod.exs
```### Run on the local system
Install elixir lang package and run:
```
export MIX_ENV=prodmix compile
mix run --no-halt
```### Run as docker image
```
docker build -t flexoid/pivotal-codereview .
docker rm -f pivotal_codereview # in case of update
docker run -p 4002:4000 --restart=unless-stopped -d --name=pivotal_codereview flexoid/pivotal-codereview
```In this example, `4002` port will be exposed from the docker. Can be changed to any free port.
## Connecting to GitLab
Add webhook URL on Integrations page in the GitLab project settings:
http://example.com:4002/merge_request/12345678
where `example.com:4002` is your deployed service address, and `12345678` is a Pivotal Tracker project ID which you want to integrate with.