1.62.11 • Published 3 years ago
hook-ci v1.62.11
hook-ci
simple ci to be triggered by git hooks
API
Table of Contents
- defaultQueuesConfig
- queueTypes
- analyseJob
- extractCINotification
- streamIntoJob
- stripUnusedDataFromHookRequest
- wellKnownScripts
- buildAnalyse
- authenticate
- accessTokenGenerator
- LocalNode
defaultQueuesConfig
default configuration for queues
queueTypes
map queue names to processing
analyseJob
analyse the incoming job and prepare the steps to be executed in the processing queue(s)
Parameters
jobJobbusObject
extractCINotification
extract ci notification from line
Parameters
linestring
Returns string notification body or undefined
streamIntoJob
add log entries to a job
Parameters
streamReadableStreamjobJobstepnotificationHandlerFunction
stripUnusedDataFromHookRequest
strip away currently unused request data
Parameters
requestObject decodec webhook request data
Returns Object stipped down request data
wellKnownScripts
npm buildin scripts
buildAnalyse
search for build.sh
Parameters
branchjobconfigwd
authenticate
authorize user / password
Parameters
Returns Set<string> entitlements
accessTokenGenerator
Generate a request handler to deliver JWT access tokens
Parameters
Returns any request handler return jwt token
LocalNode
Extends Node
the node we are ourselfs
Parameters
nameoptions