Files
runner-container-hooks/packages/docker
Nikola Jokic 4cdcf09c43 Implement yaml extensions overwriting the default pod/container spec (#75)
* 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
2023-09-25 11:49:03 +02:00
..
2022-06-02 15:53:11 -04:00
2022-06-02 15:53:11 -04:00
2022-06-02 15:53:11 -04:00

Docker Hooks

Description

This implementation mirrors the original docker implementation in the Actions Runner.

Feel free to fork this repo and modify it in order to customize that implementation

Pre-requisites

The GITHUB_WORKSPACE env will be set to the GitHub Workspace. This is done automatically by the actions runner, but may need to be done manually when testing The docker cli is installed on the machine, and docker is running.