See more detail in homu.
How to install
$ sudo apt-get install python3-venv $ pyvenv .venv $ . .venv/bin/activate $ git clone https://github.com/coldnight/homu-gitlab.git $ pip install -e homu-gitlab
How to configure
In the following instructions,
HOST refers to the hostname (or IP address)
where you are running your custom homu instance.
PORT is the port the service
is listening to and is configured in
NAME refers to
the name of the repository you are configuring homu for.
cfg.toml. You'll need to edit this file to set up your configuration. The following steps explain where you can find important config values.
Go to the user settings of the GitHub account you created/used in the previous step. Go to "Personal access tokens". Click "Create person access_token" and choose the "api" and "read_user" scopes. Put the token value in your
Add your new GitLab account as a Collaborator to the GitLub project you are setting up homu for. This can be done in repo (NOT user) "Settings", then "Members".
Add a Webhook to your repository. This is done under project(NOT user) "Settings", then "Integrations". the set:
- Secret Token: The same as
Merge Request events,
Add a job in your
auto-test: only: - auto script: - some test commands
Go through the rest of your
cfg.tomland uncomment (and change, if needed) parts of the config you'll need.
How to run
$ . .venv/bin/activate $ homu