Skip to content
No description, website, or topics provided.
Go HTML Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
cmd
github
league
.dockerignore
.gitignore
.travis.yml
Dockerfile
README.md
go.mod
go.sum
template.html

README.md

ci-league build status

Generates a league table of committers to master for a given github repo.

For a longer rant, see my post on CI

requirements

  • Go 1.13

run

$ go run cmd/ci-league.go

or

$ docker run -p 8000:8000 quii/ci-league

Visit http://localhost:8000?owner={owner}&repo={repo}

It doesn't do any fancy auto-refreshing but most browsers have extensions to auto refresh a tab, we set it for every 10 minutes here.

options via environment variables

  • PORT defines the port the server listens on (default 8000)
  • GITHUB_TOKEN to get stats for private repos you'll need a github access token
  • MAPPINGS a path to a JSON file with keys of email addresses to aliases

test

$ go test ./...

You can’t perform that action at this time.