dependabot[bot]
8388a36f44
Bump ws from 7.5.7 to 7.5.10 in /packages/docker ( #170 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.5.7 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.5.7...7.5.10 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 16:19:49 +02:00
Nikola Jokic
c093f87779
Docker and K8s: Fix shell arguments when split by the runner ( #115 )
...
* Docker: Fix shell arguments when split by the runner
* Add shlex to k8s hook as well
2023-11-20 15:09:36 +01:00
dependabot[bot]
5264b6cd7d
Bump @babel/traverse from 7.17.9 to 7.23.2 in /packages/docker ( #109 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.17.9 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 09:36:30 +02:00
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
dependabot[bot]
17fb66892c
Bump word-wrap from 1.2.3 to 1.2.5 in /packages/docker ( #95 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-25 13:30:07 +02:00
Takamasa Saichi
586a052286
Do not overwrite entrypoint if it has already been set or if it is Service container ( #83 )
2023-07-17 10:33:34 +02:00
dependabot[bot]
730509f702
Bump tough-cookie from 4.0.0 to 4.1.3 in /packages/docker ( #87 )
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 10:41:36 +02:00
Marko Zagožen
3fc91e4132
Fix argument order for 'docker pull' ( #85 )
...
The optional --config option must come *before* the pull argument.
2023-06-30 15:03:01 +02:00
Nikola Jokic
ae432db512
docker and k8s: read from stdin inside try catch block ( #49 )
...
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
2023-01-23 12:46:47 +01:00
dependabot[bot]
0e1ba7bdc8
Bump json5 from 1.0.1 to 1.0.2 in /packages/docker ( #58 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 11:04:42 +01:00
dependabot[bot]
ea011028f5
Bump @actions/core from 1.6.0 to 1.9.1 in /packages/hooklib ( #29 )
...
* Bump @actions/core from 1.6.0 to 1.9.1 in /packages/hooklib
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.6.0 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
---
updated-dependencies:
- dependency-name: "@actions/core"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Trigger Build
* Update package lock for docker and k8s
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com >
2022-12-15 14:58:13 +01:00
Nikola Jokic
ce3c55d086
exposing env variables from runner with DOCKER_ envs to respect docker options set on host ( #40 )
...
* exposing env variables from runner with DOCKER_ prefix to respect rootless docker
* Prioritize DOCKER cli over workflow envs
* formatted
2022-12-08 08:09:51 +01:00
dependabot[bot]
e975289683
Bump @actions/core from 1.6.0 to 1.9.1 in /packages/docker ( #27 )
...
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.6.0 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
---
updated-dependencies:
- dependency-name: "@actions/core"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 17:12:17 +02:00
Nikola Jokic
20c19dae27
refactor around job claim name and runner instance labels ( #20 )
...
* refactor around job claim name, and runner instance labels
* repaired failing test
2022-06-22 09:32:50 -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
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
643bf36fd8
docker apply env on commands where we are using '-e' ( #11 )
...
* added wrapper for docker -e to apply env
* added envs around services as well
* added wrapping environment around execute command
* fixed setting the env variable for containerRun
* added env to exec and not to handle envs by ourself
* returned back the comment to run-container-step
2022-06-13 11:13:47 -04:00
Nikola Jokic
3e04b45585
removed leftover todo comments
2022-06-10 12:45:59 +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
2aa6f9d9c8
added quotes back to the path
2022-06-08 17:39:37 +02:00
Nikola Jokic
3d0ca83d2d
removed quotes around -e env variables
2022-06-08 17:37:43 +02:00
Nikola Jokic
df448fbbb0
cleared registry for testing
2022-06-08 17:13:43 +02:00
Nikola Jokic
ee2554e2c0
filter out empty ports
2022-06-08 16:49:44 +02:00
Nikola Jokic
51bd8b62a4
Merge branch 'nikola-jokic/docker-env' into nikola-jokic/computed-build-directory
2022-06-08 15:07:59 +02:00
Nikola Jokic
150bc0503a
substituited all -e key=value to -e key
2022-06-08 15:02:40 +02:00
Nikola Jokic
9ce39e5a60
Merge branch 'main' into nikola-jokic/computed-build-directory
2022-06-08 14:37:13 +02:00
Nikola Jokic
8351f842bd
added isAlpine test to prepare job
2022-06-08 14:29:10 +02:00
Nikola Jokic
bf3707d7e0
added guard around prependPath
2022-06-08 13:28:46 +02:00
Nikola Jokic
dd5dfb3e48
refactored tests to be easier to follow
2022-06-08 13:20:54 +02:00
Thomas Boop
ecb9376000
Merge pull request #4 from actions/thboop/setupTests
...
Setup CI to run k8s tests
2022-06-07 22:38:06 -04:00
Nikola Jokic
58ebf56ad3
Merge branch 'main' into nikola-jokic/computed-build-directory
2022-06-07 10:52:28 +02: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
Nikola Jokic
7010d21bff
repaired tests
2022-06-03 16:24:20 +02:00
Nikola Jokic
c65ec28bbb
added force cleanup for network and cleanUp hook is cleaning up based on the label
2022-06-03 16:01:24 +02:00
Ferenc Hammerl
c2f9b10f4d
Fix case sensitive image in test
2022-06-03 06:56:26 -07:00
Ferenc Hammerl
1e49f4ba5b
Merge branch 'nikola-jokic/computed-build-directory' of github.com:actions/runner-container-hooks into nikola-jokic/computed-build-directory
2022-06-03 06:52:11 -07:00
Ferenc Hammerl
171956673c
Handle empty registry property in input
2022-06-03 06:52:06 -07:00
Nikola Jokic
3ab4ae20f9
added network prune
2022-06-03 15:15:19 +02:00
Nikola Jokic
b0cf60b678
changed split to dirname and fixed syntax error in err message
2022-06-03 15:10:14 +02:00
Nikola Jokic
5ec2edbe11
err message suggestion
...
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
2022-06-03 15:02:10 +02:00
Nikola Jokic
4b7efe88ef
refactored tests and added docker build test, repaired state.network
2022-06-03 14:10:15 +02:00
Thomas Boop
6159767f90
Initial Commit
2022-06-02 15:53:11 -04:00