Sign inSign up

nthingsm/gtm

By nthingsm

Updated over 8 years ago

Docker image for running gtm (Git Time Metric)

Image
0

1.4K

nthingsm/gtm repository overview

Docker Logo GTM Logo
GTM (Git Time Metric) Docker Image

For more information about GTM please see the GTM GitHub Proyect.

Description

This project contains an Ubuntu base image with GIT and GTM.

Usage

https://hub.docker.com/r/nthingsm/gtm/

docker pull nthingsm/gtm

I use it in my GitLab Pipeline for automating reports and having them accessible by the team.

For example with this stage in the Pipeline my team can view the report of hours expend in the month coding.

time_report:
    stage: time_report
    image: nthingsm/gtm
    script:
        - gtm init
        - git fetchgtm
        - git log --pretty=%H --since="last month" | gtm report -format timeline-hours -this-month | tee hoursReport$( date +"%B" ).txt
    artifacts:
        paths:
            - hoursReport*

Tag summary

Content type

Image

Digest

Size

123.8 MB

Last updated

over 8 years ago

docker pull nthingsm/gtm