Docker Image for ruby-git-commits-analyzer
A Docker image that runs ruby-git-commits-analyzer on a regular basis and pushes updated git contribution statistics to a separate repo.
docker pull aubertg/ruby-git-commits-analyzer-docker docker run \ -v /my/host/git/repos/directory/:/data \ -v /my/host/ssh/deploy/dir:/home/gca/.ssh \ -t \ -d \ --name=GitContributionsAnalyzer \ -e GCA_ANALYZE_AUTHOR="firstname.lastname@example.org" \ -e GCA_COMMIT_NAME="Git Analyzer" \ -e GCA_COMMIT_EMAIL="email@example.com" \ -e GCA_OUTPUT_REPO="firstname.lastname@example.org:...git" \ -e GCA_OUTPUT_DIR="data/" \ -e GCA_ANALYZE_ON_STARTUP="yes" \ aubertg/ruby-git-commits-analyzer-docker
The container supports the following volumes:
A directory where all the git repositories to analyze are stored.
A directory that holds the ssh configuration required to push commits to the
The container is configurable through the following environment variables:
Timezone for the processes; defaults to
The commit email address of the author whose contributions you are analyzing.
The name to use to commit updates to the output repository.
The email to use to commit updates to the output repository.
URL of the git repository to which updated contribution statistics should be
GCA_OUTPUT_REPO, the relative path of the directory in which
contribution statistics should be stored.
Set this to
yesto trigger an analysis on container startup; defaults to
Copyright (C) 2017 Guillaume Aubert.
This software is released under the MIT license. See the LICENSE file for
I am providing code in this repository to you under an open source license.
Because this is my personal repository, the license you receive to my code is
from me and not from my employer (Facebook).