1
1
mirror of https://github.com/nektos/act.git synced 2024-11-11 05:49:31 +03:00
act/pkg/container
Markus Wolf ff5e289804
test: add test for networking setup in act (#1375)
* test: add test for networking setup in act

This test makes sure that the hostname inside of act is resolvable.

* fix: only merge existing container options

When merging parsed container options without options being
set in a job, the default docker options are returned and
will override the expected defaults by act (e.g. network mode).

This is a first attempt to mitigate this behavior and only
merge settings if something was requested on a job.

* refactor: split config merging into own function

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-12 16:30:56 +00:00
..
testdata fix: support docker create arguments from container.options (#1022) (#1351) 2022-10-06 22:09:43 +00:00
docker_auth.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
docker_build.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
docker_cli_test.go fix: support docker create arguments from container.options (#1022) (#1351) 2022-10-06 22:09:43 +00:00
docker_cli.go fix: support docker create arguments from container.options (#1022) (#1351) 2022-10-06 22:09:43 +00:00
docker_images_test.go feat: add node16 support (#922) 2021-12-22 19:34:18 +00:00
docker_images.go Close docker client (#789) 2021-10-24 16:50:43 +00:00
DOCKER_LICENSE fix: support docker create arguments from container.options (#1022) (#1351) 2022-10-06 22:09:43 +00:00
docker_logger.go Fixes (#856) 2021-11-03 11:47:09 -07:00
docker_pull_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
docker_pull.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
docker_run_test.go feat: handle context cancelation during docker exec (#1170) 2022-05-24 14:52:25 +00:00
docker_run.go test: add test for networking setup in act (#1375) 2022-10-12 16:30:56 +00:00
docker_volume.go Close docker client (#789) 2021-10-24 16:50:43 +00:00
file_collector_test.go fix: copy ignored tracked files (#1074) 2022-04-04 15:27:00 +00:00
file_collector.go fix: support docker create arguments from container.options (#1022) (#1351) 2022-10-06 22:09:43 +00:00