-
npm install
-
copy and make your own
.env
files from.env-example
- Make sure you generate API TOKEN for
Github
andBuildKite
with right access - Make sure you set your Github Enterpise API url if you are using GHE
- Make sure you generate API TOKEN for
-
node index.js --startTime 2019-12-16 --endTime 2019-12-23 --pipeline aaa/application-ui --prodJob Prod --skipBuild 'Scheduled build'
startTime
andendTime
specifies the date range of the deployments, the logic isstartTime(00:00:00) <= date < endTime(00:00:00))
pipeline
should be in[organization]/[pipeline]
format,organization
andpipeline
are all variables in BuildKiteprodJob
indicates the name of the pipeline job which does the production deploymentskipBuild
Optional. Skip build with given message. EgScheduled build
.
It prints a table with following headers:
Repo | Commit | Committed At | Deployed At | Deployment Build Id |
---|
Then you can use whatever tools to analyse the data (E.g. Excel)