Gitlab Deployment Changelog
Home of this code is now https://github.com/ExB-Group/gitlab-deployment-changelog
This package grabs the last n deployments for a project from gitlab and creates a summary of the merge requests
and their issues. Decoration is done based on scoped labels type::. As of now we cover bug. Everything else is
considered as a feature. Merge requests without issues, were indicated as well.
Mandatory setup
- set gitlab access token
PAT(https://gitlab.com/-/profile/personal_access_tokens) WEBHOOK_URLfor slack- go to https://api.slack.com/apps
- create or select your app
- Features/Incoming Webhooks
- Add new webhook to workspace, select the channel where you would like to see the notifications
How to use at all
> pip install gitlab-deployment-changelog
> gdc -h
usage: Gitlab Deployment Changelog [-h] [-c COUNT] [-n] [-d] env
positional arguments:
env Name of the environment
options:
-h, --help show this help message and exit
-c COUNT, --count COUNT
How many last deployments to consider
-n, --no_slack Dont send to slack
-d, --debug Show debug output
-v, --verbose Show more information incl legend
> gdc environment_to_run_again # find merges and issues which were deployed
How to use locally or manually
- checkout
pdm install- Make sure you have
PROJECT_IDproperly set pdm run changelog <environment>, the environment is mandatory and could be something likeproduction/the_exb
Pipeline usage
- call it with the environment name as argument, e.g.,
pdm run changelog staging/the_exb
Metadata
Release files for gitlab-deployment-changelog 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gitlab-deployment-changelog-0.2.0.tar.gz | 6.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitlab_deployment_changelog-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / gitlab-deployment-changelog-0.2.0.tar.gz
| Download URL | gitlab-deployment-changelog-0.2.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f7c01f87d9d96f57a3efa7205e677f07b4310df1ab301a143992fdddd554d82
|
|
BLAKE2b-256 checksum How to use checksums |
1f34fa5712224ff251b4758fcce4510b99b8ba7caca37411aae6ca65453c5f96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.11.2 CPython/3.10.12
|
Release files / gitlab_deployment_changelog-0.2.0-py3-none-any.whl
| Download URL | gitlab_deployment_changelog-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a5e8cf10554ed2d4d0f4b6034e7f55b7fd4d2b5a0a9f6ad566e4ab52030ffe5
|
|
BLAKE2b-256 checksum How to use checksums |
290312f3f4e6664440933e0de7174841f192093bbbac2ba4659a00ed5370911a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.11.2 CPython/3.10.12
|
Security for gitlab-deployment-changelog 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.