Skip to content

Small sh tool to send a message as a comment on a Gitlab MR

License

Notifications You must be signed in to change notification settings

ferrgo/gitlab-ci-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notifier for Gitlab CI/CD Pipeline

Docker Cloud Build Status

Docker Pulls Docker Image Size (latest semver) Latest License


Shell script using curl and Gitlab CI Variables to post messages on Merge Requests

Gitlab CI/CD Pipeline

See the .gitlab-ci.yml for the example and the execution

Usage

The script looks for the following variables:

Shell Usage

cd src/ && ./notifier.sh

Docker Usage

You can run using the docker image available on Docker Hub or GHCR

docker run -e TOKEN=<TOkEN> -e CI_API_V4_URL=<URL> -e CI_PROJECT_ID=<ProjectID> -e CI_MERGE_REQUEST_IID=<MRID> -e COMMENT_MSG=<YourMessage> ferrgo/gitlab-ci-notifier

Docker image

Publishing to Docker Hub @ ferrgo/gitlab-ci-notifier

Publishing to Github Pkgs @ docker.pkg.github.com/ferrgo/gitlab-ci-notifier/gitlab-ci-notifier

Publishing to Github Container Registry @ ghcr.io/ferrgo/curlybox

Releases

No releases published

Packages