Tags: jessicamack/ansible-runner
Tags
Give more detail when we cannot process a non-JSON streamed line (ans… …ible#1186) (ansible#1258) Pack the line information into job_explanation for technical reasons Limit line length in these error messages to print to 1000 characters Update tests to check for more error reporting
Emit periodic keepalive events from `Worker` (ansible#1191) (ansible#… …1201) * new CLI arg and envvar for `Worker` mode to optionally emit regular keepalive events; fixes issues with container runtimes that assume long-silent stdout == hung process --------- Co-authored-by: Alan Rominger <arominge@redhat.com> (cherry picked from commit fd9d67a)
remove any pipe files before zip/unzipping (ansible#1133) * Write test to demonstrate job hang on pipes * Remove any pipe files before zip/unzipping - Prevents hangs when zipping, unzipping artifacts dir. If python attempts to open a fifo pipe, it will block indefinitely until it can read data from the pipe. * move fifo check below symlink Co-authored-by: Alan Rominger <arominge@redhat.com>
update how callback plugin gets copied and added to job container (an… …sible#1093) (ansible#1098) when in containerized environment - always copy callback plugin to private_data_dir/artifacts/{job_id}/callback - appending to `ANSIBLE_CALLBACK_PLUGINS` with the runner callback plugin location (from private_data/artifacts) - unused method `utils.callback_mount` - update unit tests Co-authored-by: Alan Rominger <arominge@redhat.com> (cherry picked from commit 3b74385) Signed-off-by: Hao Liu <the.real.hao.liu@gmail.com> Co-authored-by: Alan Rominger <arominge@redhat.com>
Fix image build to override root homedir in /etc/passwd (ansible#1027) ( ansible#1062) * override root homedir in /etc/passwd * using only `HOME` envvar to override homedir causes mismatches with anything that asks for it a different way (eg, `echo ~root`) * kicking the can down the road on "why are we overriding /root as root's homedir anyway?" * more dynamic homedir handling * just make everybody's home /home/runner * restore ENV HOME override for builds * comment wording (cherry picked from commit c181daa)
PreviousNext