git-sync

A sidecar app which clones a git repo and keeps it in sync with the upstream.

APACHE-2.0 License

Downloads
24
Stars
2.2K
Committers
73

Bot releases are hidden (Show)

git-sync - v3.1.2

Published by thockin about 5 years ago

Available as k8s.gcr.io/git-sync:v3.1.2

Update base image to k8s.gcr.io/debian-base:1.0.0

git-sync - v3.1.1

Published by thockin over 5 years ago

Available as k8s.gcr.io/git-sync:v3.1.1

Fix SSH support and add a working example.

git-sync - v3.1.0

Published by thockin over 5 years ago

Available as k8s.gcr.io/git-sync:v3.1.0

  • Support a timeout flag for sync operations (--timeout, default 120 seconds)
  • Support calling a webhook on each sync (--webhook-*, default disabled)
  • Make SSH key file and known-hosts file flags (--ssh-key-file, --ssh-known-hosts-file)
  • Allow unlimited failures-and-retries (max-sync-failures=-1, default is still 0)
  • Add an optional HTTP server (set --http-bind to enable, default disabled)
  • Add a liveness-probe compatible HTTP endpoint at / (if HTTP enabled)
  • Add prometheus metrics (--http-metrics, depends on HTTP enabled, default on)
  • Add pprof endpoint (--http-pprof, depends on HTTP enabled, default off)
  • Respect --depth more completely
git-sync - v3.0.1

Published by thockin almost 6 years ago

Available as k8s.gcr.io/git-sync:v3.0.1.

  • Add --cookie-file option to specify a git http cookie

  • Better support for running as non-root

  • Clean up failed clones in case of crashes

  • Use rev-parse instead of rev-list, to better support non-annotated tags

git-sync - v2.0.6

Published by thockin over 6 years ago

Several minor fixes, rolled up.

  • Don't set GIT_SYNC_DEST in Dockerfile.

  • Flip the known_hosts enforcement to true so the git hosts actually get verified.

  • Update to golang-1.9

  • Fix one-shot sync of a rev

git-sync - v2.0.5

Published by thockin over 7 years ago

git-sync - v2.0.4

Published by thockin almost 8 years ago

Remove chmod command since we can specify permissions for Secret Volumes

Available as a Docker image at gcr.io/google_containers/git-sync-amd64:v2.0.4

git-sync - v2.0.3

Published by thockin almost 8 years ago

Fix non-master branches and tags

git-sync - v2.0.2

Published by thockin about 8 years ago

Available as a Docker image at gcr.io/google_containers/git-sync-amd64:v2.0.2

git-sync - v2.0.1

Published by thockin about 8 years ago

git-sync - v2.0.0

Published by thockin about 8 years ago

Tagging v2.0.0 to denote the first release of the majorly revamped git-sync. Pushed to gcr.io/google-containers/git-sync:v2.0.0

Package Rankings
Top 8.17% on Proxy.golang.org
Top 29.99% on Formulae.brew.sh