mirror of
https://github.com/actions/runner-container-hooks.git
synced 2026-01-04 16:28:10 +08:00
* Implement yaml extensions overwriting the default pod/container spec * format files * Extend specs for container job and include docker and k8s tests in k8s * Create table tests for docker tests * included warnings and extracted append logic as generic * updated merge to allow for file read * reverted back examples and k8s/tests * reverted back docker tests * Tests for extension prepare-job * Fix lint and format and merge error * Added basic test for container step * revert hooklib since new definition for container options is received from a file * revert docker options since create options are a string * Fix revert * Update package locks and deps * included example of extension.yaml. Added side-car container that was missing * Ignore spec modification for the service containers, change selector to * fix lint error * Add missing image override * Add comment explaining merge object meta with job and pod * fix test
32 lines
758 B
JSON
32 lines
758 B
JSON
{
|
|
"name": "kubehooks",
|
|
"version": "0.1.0",
|
|
"description": "",
|
|
"main": "lib/index.js",
|
|
"scripts": {
|
|
"test": "jest --runInBand",
|
|
"build": "tsc && npx ncc build",
|
|
"format": "prettier --write '**/*.ts'",
|
|
"format-check": "prettier --check '**/*.ts'",
|
|
"lint": "eslint src/**/*.ts"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.9.1",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/io": "^1.1.2",
|
|
"@kubernetes/client-node": "^0.18.1",
|
|
"hooklib": "file:../hooklib",
|
|
"js-yaml": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^27.4.1",
|
|
"@types/node": "^17.0.23",
|
|
"@vercel/ncc": "^0.33.4",
|
|
"jest": "^27.5.1",
|
|
"ts-jest": "^27.1.4",
|
|
"typescript": "^4.6.3"
|
|
}
|
|
}
|