Skip to content
Snippets Groups Projects
Commit ca65fe07 authored by Ariel D'Alessandro's avatar Ariel D'Alessandro
Browse files

component_guide: Document python-gitlab config at import-debian-package


import-debian-package script now runs all the steps automatatically.
This required python-gitlab credentials to be configured in order to
access Apertis Gitlab server. Document this.

Signed-off-by: default avatarAriel D'Alessandro <ariel.dalessandro@collabora.com>
parent 053c729c
No related branches found
No related tags found
1 merge request!419component_guide: Document python-gitlab config at import-debian-package
Pipeline #356389 passed with warnings
......@@ -67,6 +67,22 @@ This is the process to import a new package from Debian to Apertis:
* Check out the [apertis-infrastructure repository](https://gitlab.apertis.org/infrastructure/apertis-infrastructure.git/)
or use the SDK image, which comes with the required tools installed.
* Python gitlab credentials are required to run the scripts. Set these up to
have access to the Apertis Gitlab server, see
[python-gitlab docs](https://python-gitlab.readthedocs.io/en/stable/cli-usage.html#configuration-file-format).
For example, write to the default user configuration file `~/.python-gitlab.cfg`:
[global]
default = apertis
ssl_verify = true
timeout = 5
[apertis]
url = https://gitlab.apertis.org/
private_token = $your_gitlab_private_token
api_version = 4
* Invoke `import-debian-package` to import the new debian package:
$ import-debian-package --upstream buster --downstream apertis/v2021 --component target --package hello --push-remote
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment