https://github.com/gedgonz/notify-reviewer
https://github.com/gedgonz/notify-reviewer
gitlab-api linux shell-script
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gedgonz/notify-reviewer
- Owner: GedGonz
- Created: 2024-11-26T22:53:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-26T23:03:58.000Z (over 1 year ago)
- Last Synced: 2025-03-21T19:14:36.871Z (over 1 year ago)
- Topics: gitlab-api, linux, shell-script
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# notify-reviewer
Este es un pequeño script para mostar notificaciones en linux por cada PR asignado al usuario de gitlab
## Configuración:
Para configurar este script es necesario crear un cron para ejecutar este en un tiempo determinado y agregar las variables de tornos necesarias
### Variable de entorno:
- GITLAB_CODEREVIEW_TOKEN ="token Gitlab"
- GITLAB_CODEREVIEW_USER ="user Gitlab"
### Cron:
crear una carpeta para almacenar el log del script(opcional)
*/5 8-17 * * * XDG_RUNTIME_DIR=/run/user/$(id -u) /usr/local/bin/jenkinsreviwer.sh >> /usr/local/bin/logs/reviewer.log 2>&1