rapid-exabyte-76685
04/23/2022, 8:38 AMgcloud auth configure-docker <http://europe-docker.pkg.dev|europe-docker.pkg.dev>
(or substitute other region) to be visible within the scope used by Pants.curved-television-6568
04/23/2022, 9:45 AMrapid-exabyte-76685
04/26/2022, 7:03 AM[docker]
tools = ["/home/circleci/google-cloud-sdk/bin/gcloud"]
And in my CI environment if I manually log in and run (as the circleci
user) ~/google-cloud-sdk/bin/gcloud
I can see that it runs, however if I run ./pants publish ::
07:02:52.17 [ERROR] 1 Exception encountered:
BinaryNotFoundError: Cannot find `/home/circleci/google-cloud-sdk/bin/gcloud` on `['/bin', '/home/circleci/.local/bin', '/home/circleci/.poetry/bin', '/home/circleci/.pyenv/bin', '/home/circleci/.pyenv/shims', '/home/circleci/bin', '/home/circleci/google-cloud-sdk/bin', '/sbin', '/usr/bin', '/usr/local/bin', '/usr/local/sbin', '/usr/sbin']`. Please ensure that it is installed so that Pants can use docker.
/home/circleci/google-cloud-sdk/bin/home/circleci/google-cloud-sdk/bin/gcloud
? Or have I given tools
a value in the incorrect format?gcloud
is a shell script FWIWcurved-television-6568
04/26/2022, 7:37 AM[docker] tools
option expects the tool name, as discoverable on PATH, not a full absolute path to the tool.[docker]
tools=["gcloud"]
as the circleci/bin seems to be on your PATH already.rapid-exabyte-76685
04/26/2022, 8:02 AM./pants publish
I'm getting...
ValueError: Process has immutable_input_digests, so it cannot be converted to an InteractiveProcess by calling from_process(). Use an async InteractiveProcessRequest instead.
curved-television-6568
04/26/2022, 8:03 AMrapid-exabyte-76685
04/26/2022, 8:07 AMcurved-television-6568
04/26/2022, 8:10 AMrapid-exabyte-76685
04/26/2022, 8:13 AMcurved-television-6568
04/26/2022, 8:14 AMrapid-exabyte-76685
04/26/2022, 10:09 AMpants_version = "2.11.0rc0"
but if the fix lands in a more recent RC or release I'll use itcurved-television-6568
04/27/2022, 4:36 AM