act/pkg/runner
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
..
res Add super-linter + fix lint issues (#650) 2021-05-03 09:52:03 -07:00
testdata test: add test for networking setup in act (#1375) 2022-10-12 16:30:56 +00:00
action.go Fix composite input handling (#1345) 2022-10-06 21:58:16 +00:00
action_composite.go fix: interpolate action input defaults (#1376) 2022-10-07 14:51:27 +00:00
action_test.go Fix composite input handling (#1345) 2022-10-06 21:58:16 +00:00
command.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
command_test.go feat: pass current matrix information to job logger (#1364) 2022-09-27 15:49:22 +00:00
container_mock_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
expression.go Fix composite input handling (#1345) 2022-10-06 21:58:16 +00:00
expression_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
job_executor.go fix: restore the job logger setup after job cancelation (#1365) 2022-09-27 19:13:32 +00:00
job_executor_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
logger.go feat: pass current matrix information to job logger (#1364) 2022-09-27 15:49:22 +00:00
run_context.go fix: support docker create arguments from container.options (#1022) (#1351) 2022-10-06 22:09:43 +00:00
run_context_test.go fix: align github.ref to GitHub Action (#1362) 2022-09-26 22:49:19 +00:00
runner.go fix: handle go closure iteration (#1374) 2022-10-05 22:13:00 +00:00
runner_test.go test: add test for networking setup in act (#1375) 2022-10-12 16:30:56 +00:00
step.go Fix composite input handling (#1345) 2022-10-06 21:58:16 +00:00
step_action_local.go Fix composite input handling (#1345) 2022-10-06 21:58:16 +00:00
step_action_local_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
step_action_remote.go fix: re-evaluate env for remote composite actions (#1385) 2022-10-12 16:19:32 +00:00
step_action_remote_test.go feat: add option to bypass GHE for actions checkout (#1162) 2022-06-21 13:52:21 +00:00
step_docker.go Fix composite input handling (#1345) 2022-10-06 21:58:16 +00:00
step_docker_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_factory.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_factory_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_run.go Fix composite input handling (#1345) 2022-10-06 21:58:16 +00:00
step_run_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_test.go Fix composite input handling (#1345) 2022-10-06 21:58:16 +00:00