Sign inSign up

benbrown/git-mirror

By benbrown

Updated about 7 years ago

git-mirror resource for Concourse.ci

Image
1

10M+

benbrown/git-mirror repository overview

git-mirror-resource

Takes the docker image from concourse/git-resource and modifies the check/in/out scripts for mirrored clones.

Check will not clone anything, this would be a waste of bandwidth/resources, instead it checks the remote is valid (by attempting to git ls-remote) and returns a new version at a time based on the specified frequency.

This will not track changes to a branch/tag (nor any ref within a repo), instead this will pass a new "version" onto Concourse.ci in the format "{'updated': 'YY-MM-DD'}".

Config

uri, skip_ssl_verification, private_key follow the same format as used by the git-resource, the only new field is frequency:

  • frequency: Optional. How often a new version should be reported (daily|weekly|monthly), defaults to daily.

Tag summary

Content type

Image

Digest

Size

97.2 MB

Last updated

about 7 years ago

docker pull benbrown/git-mirror