* Ensure responseconsist no matter having ports or not.
* Update packages/k8s/src/hooks/prepare-job.ts
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
---------
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
There might be situation where reading from standard input fails. In
that case, we should encapsulate that exception within the try catch
block to avoid unhandeled Promise rejection exception and provide more
information about the error
* fix: service without ports defined
* fix port mappings when ports are undefined,null or empty
* fix
Co-authored-by: Ronald Claveau <ronald.claveau@pennylane.com>
* fixing issue related to setting hostPort and containerPort when format is port/proto
* added one more test case and refactored containerPorts to be without regexp
* added throw on ports outside of (0,65536) range with test
* repaired error message and added tests to multi splits. refactored port checking
* fixed substring issue with /github/workspace and /github/file_commands
* npm run format
* last 3 parts of the path are mounted to /github/workspace and /github/file_commands
* file commands now point to _temp/_runner_file_commands
* 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>