{"id":16698175,"url":"https://github.com/arlac77/hook-ci","last_synced_at":"2025-05-16T07:34:04.241Z","repository":{"id":37270475,"uuid":"164114938","full_name":"arlac77/hook-ci","owner":"arlac77","description":"simple ci to be triggered by git hooks","archived":false,"fork":false,"pushed_at":"2025-05-08T23:24:43.000Z","size":6614,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-08T23:33:18.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arlac77.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-04T14:06:44.000Z","updated_at":"2025-05-08T22:56:29.000Z","dependencies_parsed_at":"2023-10-14T19:37:03.101Z","dependency_job_id":"2aff5fe7-6287-4078-a24d-48c8d143d35c","html_url":"https://github.com/arlac77/hook-ci","commit_stats":{"total_commits":3723,"total_committers":8,"mean_commits":465.375,"dds":0.2933118452860596,"last_synced_commit":"6f483c01821d58a570e4c4528cb261795cd5e261"},"previous_names":[],"tags_count":433,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fhook-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fhook-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fhook-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fhook-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arlac77","download_url":"https://codeload.github.com/arlac77/hook-ci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254488877,"owners_count":22079512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T17:51:03.880Z","updated_at":"2025-05-16T07:34:04.234Z","avatar_url":"https://github.com/arlac77.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/License-0BSD-blue.svg)](https://spdx.org/licenses/0BSD.html)\n[![GitHub Issues](https://img.shields.io/github/issues/arlac77/hook-ci.svg?style=flat-square)](https://github.com/arlac77/hook-ci/issues)\n[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Farlac77%2Fhook-ci%2Fbadge\\\u0026style=flat)](https://actions-badge.atrox.dev/arlac77/hook-ci/goto)\n[![Coverage Status](https://coveralls.io/repos/arlac77/hook-ci/badge.svg)](https://coveralls.io/github/arlac77/hook-ci)\n\n# hook-ci\n\nsimple ci to be triggered by git hooks\n\n# API\n\n\u003c!-- Generated by documentation.js. Update this documentation by updating the source code. --\u003e\n\n### Table of Contents\n\n-   [defaultQueuesConfig](#defaultqueuesconfig)\n-   [queueTypes](#queuetypes)\n-   [analyseJob](#analysejob)\n    -   [Parameters](#parameters)\n-   [extractCINotification](#extractcinotification)\n    -   [Parameters](#parameters-1)\n-   [streamIntoJob](#streamintojob)\n    -   [Parameters](#parameters-2)\n-   [stripUnusedDataFromHookRequest](#stripunuseddatafromhookrequest)\n    -   [Parameters](#parameters-3)\n-   [wellKnownScripts](#wellknownscripts)\n-   [buildAnalyse](#buildanalyse)\n    -   [Parameters](#parameters-4)\n-   [authenticate](#authenticate)\n    -   [Parameters](#parameters-5)\n-   [accessTokenGenerator](#accesstokengenerator)\n    -   [Parameters](#parameters-6)\n-   [LocalNode](#localnode)\n    -   [Parameters](#parameters-7)\n\n## defaultQueuesConfig\n\ndefault configuration for queues\n\n## queueTypes\n\nmap queue names\nto processing\n\n## analyseJob\n\nanalyse the incoming job and prepare the steps to be executed in the processing queue(s)\n\n### Parameters\n\n-   `job` **Job** \n-   `bus` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n\n## extractCINotification\n\nextract ci notification from line\n\n### Parameters\n\n-   `line` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** \n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** notification body or undefined\n\n## streamIntoJob\n\nadd log entries to a job\n\n### Parameters\n\n-   `stream` **ReadableStream** \n-   `job` **Job** \n-   `step`  \n-   `notificationHandler` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** \n\n## stripUnusedDataFromHookRequest\n\nstrip away currently unused request data\n\n### Parameters\n\n-   `request` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** decodec webhook request data\n\nReturns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** stipped down request data\n\n## wellKnownScripts\n\nnpm buildin scripts\n\n## buildAnalyse\n\nsearch for build.sh\n\n### Parameters\n\n-   `branch`  \n-   `job`  \n-   `config`  \n-   `wd`  \n\n## authenticate\n\nauthorize user / password\n\n### Parameters\n\n-   `config` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n-   `username` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** \n-   `password` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** \n\nReturns **[Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)\u0026lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e** entitlements\n\n## accessTokenGenerator\n\nGenerate a request handler to deliver JWT access tokens\n\n### Parameters\n\n-   `config` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n-   `entitlementFilter` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** \n\nReturns **any** request handler return jwt token\n\n## LocalNode\n\n**Extends Node**\n\nthe node we are ourselfs\n\n### Parameters\n\n-   `name`  \n-   `options`  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farlac77%2Fhook-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farlac77%2Fhook-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farlac77%2Fhook-ci/lists"}