Sign inSign up

duologic/gitwatch

By duologic

Updated about 6 years ago

gitwatch

Image
0

233

duologic/gitwatch repository overview

gitwatch

Simple tool that can pull in the latest of a git branch every minute.

The intend is to run this as a sidecar to provide configuration or data on the filesystem in a GitOps-like fashion.

Usage:

Usage of gitwatch:
  -branch string
    	remote branch name to watch (default "master")
  -config string
    	path to the config file
  -dir string
    	remote branch name to watch (default "/repo")
  -repository string
    	git repository (http/https/ssh)

The -config is a json file for all arguments, making the other arguments optional. Using other arguments will override the -config.

Usage example with SSH:

docker run --rm -ti \
    -v ${HOME}/.ssh:/ssh \
    -e GIT_SSH_COMMAND='ssh -i /ssh/id_rsa' \
    duologic/gitwatch \
    --repository [email protected]:example/repo.git

Tag summary

Content type

Image

Digest

Size

14.7 MB

Last updated

about 6 years ago

docker pull duologic/gitwatch