Commit 4ded0bf8 authored by Silvio Rhatto's avatar Silvio Rhatto
Browse files

Merge branch 'hotfix/gitlab' into 'main'

Fix: minor GitLab deployment enhancements

See merge request tpo/onion-services/onion-launchpad!66
parents 1a5459a8 6c33eb7a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -91,3 +91,6 @@ assets/custom

# GitHub access configuration
.pygithub.cfg

# GitLab access configuration
.python-gitlab.cfg
+3 −1
Original line number Diff line number Diff line
@@ -238,10 +238,12 @@ procedure on GitLab.
1. [Setup GitLab authentication][] for this account.
2. Install [python-gitlab](https://python-gitlab.readthedocs.io).
   For Debian, the package is [python3-gitlab](https://tracker.debian.org/pkg/python-gitlab).
3. [Configure python-gitlab][] by creating a `~/.python-gitlab.cfg` file.
3. [Configure python-gitlab][] by creating a `~/.python-gitlab.cfg` file. Use the provided
   [.python-gitlab.cfg.sample][] as example.

[Setup GitLab authentication]: https://docs.gitlab.com/ee/api/#authentication
[Configure python-gitlab]: https://python-gitlab.readthedocs.io/en/stable/cli-usage.html?highlight=configuration#configuration-files
[.python-gitlab.cfg.sample]: configs/deploy/.python-gitlab.cfg.sample

#### Configuration

+9 −0
Original line number Diff line number Diff line
[global]
default    = gitlab
ssl_verify = true
timeout    = 5

[gitlab]
url           = https://gitlab.com
timeout       = 10
private_token = the-private-token
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ group_name = Onion Launchpad Test
# The group path
group_path   = onion-launchpad-test

# Projetc name
# Project name
project_name = Landing Page

# Project path