Skip to content

Duologic/gitwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com:example/repo.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published