Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Latest commit

 

History

History
60 lines (41 loc) · 1.45 KB

README.md

File metadata and controls

60 lines (41 loc) · 1.45 KB

clubhub

Custom integrations between GitLab and Clubhouse.

At WeGift we use Clubhouse for managing our work and GitLab for source control and code review. This small app adds some functionality to make our work easier.

Event GitLab Clubhouse
On MR approval in GitLab adds "Code Review" and "QA" labels to linked Clubhouse card.

Install

I've used this project to try out Poetry at WeGift. You'll need that first.

sudo apt-get install python3.8-venv
sudo pip install -U poetry

Then install project deps, poetry handles the virtualenv creation for you.

poetry install

Dependency management

Heroku does not yet support Poetry, we need to maintain a lock file in git as well.

poetry install
poetry export -f requirements.txt --output requirements.txt

Config

Copy the .env.example to .env and provide values. See clubhub.settings for a description of each setting.

Run

poetry run flask run --reload

Or activate the environment first

poetry shell
flask run --reload

Deploy

At WeGift we deploy clubhub to Heroku. If internal talk to Will.