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.1.1rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3096c3b584ec43f39e38575804292d0b45d42ebf9e7ec3510179d676cd2abc7e |
|
MD5 | 8f83f4cab4bf2e93fa486d5a7ac1c182 |
|
BLAKE2b-256 | e5f0977d917e3ecfec932abe5252551e62b3df1e409ee2b0e49a5608c4b40660 |
Hashes for gitlab_deployment_changelog-0.1.1rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5a48614c1bd327512306bfc199e0988c1ec834589897183aa2b5ba75817bd5b |
|
MD5 | e497c98847612cb8366cff248dffaf1f |
|
BLAKE2b-256 | 4a86d58f34cc36fecc798245d1533123085afcfbd49f9ae9962cc32f9ec3cacf |