This gem let to share CircleCI's amount of build time to channel member by Lita.
Free plan of CircleCI limit is 1,500 min build time. So sometimes we want to know how many spend build time already.
Add lita-circletime to your Lita instance's Gemfile:
gem "lita-circletime"
Set your CircleCI access token to .env
file like a following
.env
CIRCLE_CI_TOKEN='your access token'
or set token to environment valiable. Valiable name is same to CIRCLE_CI_TOKEN
first step : set target organization name
org <organization name>
you can get build time
org
get current org namebuild today
get today's amount of build timebuild yestaday
get yestaday's amount of build timebuild week
get this week amount of build timebuild month
get this month amount of build time