https://github.com/mondata-dev/gitlab-reminder
Reminder script for unanswered gitlab service desk issues
https://github.com/mondata-dev/gitlab-reminder
Last synced: over 1 year ago
JSON representation
Reminder script for unanswered gitlab service desk issues
- Host: GitHub
- URL: https://github.com/mondata-dev/gitlab-reminder
- Owner: mondata-dev
- Created: 2023-09-12T12:58:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-19T09:33:34.000Z (almost 2 years ago)
- Last Synced: 2025-02-03T23:44:05.088Z (over 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reminder for unanswered gitlab issues
This tiny script sends a daily reminder via slack if there are unanswered gitlab issues in a gitlab service desk project.
## Environment variables
- `GITLAB_TOKEN`: Gitlab access token (requires `read_api` access to gitlab project)
- `GITLAB_HOST`: Gitlab host url, e.g. `https://gitlab.com`
- `GITLAB_PROJECT_ID`: Gitlab project id, e.g. `123456`
- `SLACK_WEBHOOK_URL`: Slack webhook url, e.g. `https://hooks.slack.com/services/...`
## Kubernetes Setup
There is a kubernetes cron job template in the `k8s` folder.
Just replace the configmap and secret values and use `kubectl` to apply them.
You can also create a kustomize overlay for you custom values.
## Build docker image
```bash
docker build -t mondata/gitlab-reminder:VERSION .
docker push mondata/gitlab-reminder:VERSION
```