Thomas Boop
bb1a033ed7
Make K8s claim name optional ( #18 )
...
* make claim name optional
* update version and notes
* fix ci
* correctly invoke function
2022-06-20 15:09:04 -04:00
Nikola Jokic
898063bddd
repaired docker PATH export and added tests both for docker and k8s ( #17 )
...
* repaired docker PATH export and added tests both for docker and k8s
* added todo comments about next major version and typeof prepend path
2022-06-16 09:44:40 -04:00
Thomas Boop
266b8edb99
Fix error handling for invalid pods ( #16 )
...
* update readme and fix error handling for bad pods
* update limitations
2022-06-16 09:02:55 -04:00
Thomas Boop
47cbf5a0d7
Misc Tracing cleanup ( #15 )
...
* cleanup final bits
* fix import
2022-06-15 09:28:43 -04:00
Nikola Jokic
de4553f25a
added permission check for secrets ( #14 )
...
* added permission check for secrets
* typo in subresource
* moved auth check to the command receiver
2022-06-15 08:54:50 -04:00
Nikola Jokic
8ea57170d8
Fix working directory and write state for appPod to be used in run-script-step ( #8 )
...
* added initial entrypoint script
* change workingg directory working with addition to fix prepare-job state output
* added prepend path
* added run-script-step file generation, removed prepend path from container-step and prepare job
* latest changes with testing run script step
* fix the mounts real fast
* cleanup
* fix tests
* add kind test
* add kind yaml to ignore and run it during ci
* fix kind option
* remove gitignore
* lowercase pwd
* checkout first!
* ignore test file in build.yaml
* fixed wrong working directory and added test to run script step testing for the env
* handle env's/escaping better
* added single quote escape to env escapes
* surounded env value with single quote
* added spacing around run-container-step, changed examples to actually echo hello world
* refactored tests
* make sure to escape properly
* set addition mounts for container steps
* fixup container action mounts
Co-authored-by: Thomas Boop <thboop@github.com >
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
2022-06-14 21:41:49 -04:00
Nikola Jokic
d3ec1c0040
prepare job in k8s does not allow for no job container
2022-06-10 16:38:07 +02:00
Nikola Jokic
2b386f7cbd
returned logging below the try k8s prepare job
2022-06-10 12:00:49 +02:00
Nikola Jokic
bf362ba0dd
fixed prepare-job for docker to allow for no job container
2022-06-10 11:56:10 +02:00
Nikola Jokic
7ae8942b3d
Repaired prepare-job hook without job container
2022-06-10 11:07:50 +02:00
Thomas Boop
7c4e0f8d51
update limitations
2022-06-08 15:32:30 -04:00
Thomas Boop
cd310988c9
slight refactor, bring pod phase to k8s lib, better types
2022-06-08 15:32:30 -04:00
Thomas Boop
5daaae120b
Merge pull request #9 from actions/nikola-jokic/user-volume-mounts-path
...
User volume mount restriction to the work directory mounts if path is absolute
2022-06-08 11:15:31 -04:00
Thomas Boop
f764d18c4c
Update packages/k8s/src/k8s/utils.ts
2022-06-08 09:41:38 -04:00
Nikola Jokic
88b7b19db7
fixed interface for hooklib and example repos
2022-06-08 13:25:45 +02:00
Nikola Jokic
84a57de2e3
added tests around user volume mounts for prepare job
2022-06-08 11:23:05 +02:00
Nikola Jokic
fa680b2073
Merge branch 'nikola-jokic/user-volume-mounts-path' of https://github.com/actions/runner-container-hooks into nikola-jokic/user-volume-mounts-path
2022-06-08 11:02:49 +02:00
Nikola Jokic
02f0b322a0
fixed merge conflict, repaired paths in examples
2022-06-08 11:02:33 +02:00
Thomas Boop
cc90cd2361
pr feedback
2022-06-07 16:47:45 -04:00
Thomas Boop
152c4e1cc8
Update packages/k8s/src/k8s/utils.ts
2022-06-07 16:38:02 -04:00
Nikola Jokic
d0e094649e
use variable for env GITHUB_WORKSPACE
2022-06-07 16:48:05 +02:00
Nikola Jokic
3ba45d3d7e
user volume mount fix based on workspacePath
2022-06-07 16:47:05 +02:00
Thomas Boop
e928fa3252
Pass secrets more securely for container action
2022-06-06 18:43:57 -04:00
Thomas Boop
689a74e352
run format
2022-06-06 14:27:06 -04:00
Thomas Boop
55c9198ada
new pv for each pod
2022-06-06 14:15:14 -04:00
Nikola Jokic
0ebccbd8c6
fixed testing adding storage class and persistent volume and timeout to wait for cleanup
2022-06-06 12:56:50 +02:00
Thomas Boop
ec8131abb7
setup ci to run k8s tests
2022-06-06 00:21:44 -04:00
Thomas Boop
6159767f90
Initial Commit
2022-06-02 15:53:11 -04:00