Gitlab Deployment Changelog Creator - Get's the last
Project description
deployments for a specific environment and creates a changelog from the merge requests and issues License: MIT Author-email: Christoph Becker <christoph.becker@exb.de>,Lukas Jesche <lukas.jesche@exb.de>,Riccardo Padoan <riccardo.padoan@exb.de> Requires-Python: >=3.10 Requires-Dist: loguru>=0.7.2 Requires-Dist: python-decouple>=3.8 Requires-Dist: python-gitlab>=4.1.1 Requires-Dist: pyyaml>=6.0.1 Requires-Dist: requests>=2.31.0 Description-Content-Type: text/markdown
# 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) and WEBHOOK_URL for slack
## How to use locally or manually
checkout
pdm install
Make sure you have PROJECT_ID properly set
pdm run changelog <environment>, the environment is mandatory and could be something like production/the_exb
## Pipeline usage
call it with the environment name as argument, e.g., pdm run changelog staging/the_exb
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gitlab-deployment-changelog-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69df92a31369800e70644e3e1285522f04a8f873bed940c6f7918112abcd7085 |
|
MD5 | 1cea70ebc52a22d3155ea4eb41204dbe |
|
BLAKE2b-256 | d8f8fa6b8ac40445cbea791c5bceaef024a044851450ac953baa53615dd8ef85 |
Hashes for gitlab_deployment_changelog-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37bfa1719f3c344891001278a6d1df0fbef40f6fb91cb16f31eed8a064e7b822 |
|
MD5 | e166a08d42801a49fedde4cd0dbf89e7 |
|
BLAKE2b-256 | 1abd1b094afb881e1cbaed988cd0898a428a9c36aafa66788a047c059deb7f0d |