v0.1.0
chore: deploy Docker image to internal registry
Change-Id: I84afff734c38a71bc2cff89616c9a414d1aad001
1 file changed
tree: 1391866d1ef9e76fc25c0e07b569aab1452247bc
- docs/
- .env
- .gitignore
- .gitreview
- docker-compose.yml
- Dockerfile
- gitwatcher.go
- go.mod
- go.sum
- Makefile
- README.md
- renovate.json
README.md
Git Watcher
Git Watcher is a lightweight open-source project inspired in the original "Git Watcher" program used by The Chromium Project and other projects which use Monorail. When a change is merged and its commit references bugs, a message is published in those bugs with a summary of the change (and optionally also closing the bug).
Set up
- First, set up Gerrit. Install the events-gcloud-pubsub plugin and set it to publish messages to a Pub/Sub topic set up in your Google Cloud project.
- Set up Git Watcher:
- Create a service account in your Google Cloud project.
- Give it permission to use the Monorail API.
- Give it appropiate permissions in each Monorail project.
- Create subdirectory
//secret/
and download the service accounts credentials JSON file to //secret/credentials.json
. - Run
make docker-prod
and docker-compose up -d
.