bland-cricket-38384
08/17/2024, 6:06 AMshell_commands
through remote execution, the tools can't be found. This is most likely due to how PATH
is set. At time of remote execution PATH
prints out as {chroot}_binary_shims_*
.
Is there a workaround to fill it in? I don't deny I could have other bugs causing it. I'm still exploring.fast-nail-55400
08/17/2024, 6:36 AM{chroot}
in remote execution currently.fast-nail-55400
08/17/2024, 6:37 AMfast-nail-55400
08/17/2024, 6:37 AMfast-nail-55400
08/17/2024, 6:38 AM{chroot}
replacement.fast-nail-55400
08/17/2024, 6:39 AMfast-nail-55400
08/17/2024, 6:42 AMbland-cricket-38384
08/17/2024, 6:46 AMbland-cricket-38384
08/17/2024, 6:49 AMbland-cricket-38384
08/17/2024, 7:13 AMPATH
update to each shell command to also look in /usr/bin
. While it invalidates the tools argument, it's worth it for remote execution.fast-nail-55400
08/17/2024, 12:58 PMpath_env_modify
field on `shell_command`which can disable PATH
modificationsfast-nail-55400
08/17/2024, 12:59 PMPATH
if you don't want it. Thus Pants would use your PATH value as-is.)bland-cricket-38384
08/17/2024, 3:42 PMfast-nail-55400
08/17/2024, 3:48 PM{chroot}
replacement in remote execution: https://github.com/pantsbuild/pants/issues/17519bland-cricket-38384
08/17/2024, 3:52 PM