silly-queen-7197
01/26/2024, 10:26 PM[2024-01-26T21:41:23.821Z] Check to see if the URL is reachable (i.e. GitHub isn't down) and if pants.cp39-linux_x86_64.pex asset exists within the release: <https://github.com/pantsbuild/pants/releases/release_2.19.0>. If the asset doesn't exist it may be that this platform isn't yet supported. If that's the case, please reach out on Slack: <https://www.pantsbuild.org/docs/getting-help#slack> or file an issue on GitHub: <https://github.com/pantsbuild/pants/issues/new/choose>.
[2024-01-26T21:41:23.821Z] Exception:
[2024-01-26T21:41:23.821Z] Command '['/codefresh/volume/.cache/nce/22652cf60b12e7a187ea0cf21d7bc9d8234bbb630fa94ca6f9c28655bd6a81fb/ptex-linux-x86_64', '<https://github.com/pantsbuild/pants/releases/download/release_2.19.0/pants.cp39-linux_x86_64.pex']'> returned non-zero exit status 1.
[2024-01-26T21:41:23.821Z] Error: Isolates your Pants from the elements.
[2024-01-26T21:41:23.821Z] Please select from the following boot commands:
[2024-01-26T21:41:23.821Z] scie-pants
[2024-01-26T21:41:23.821Z] bootstrap-tools
[2024-01-26T21:41:23.821Z] pants
[2024-01-26T21:41:23.821Z] pants-debug
[2024-01-26T21:41:23.821Z] update
So I set
SCIE_BOOT=update
which exports it, but now I get
[2024-01-26T21:55:06.960Z] Executing command: pants lint ::
[2024-01-26T21:55:07.331Z] usage: tools.pex
[2024-01-26T21:55:07.331Z] [-h]
[2024-01-26T21:55:07.331Z] [version]
[2024-01-26T21:55:07.331Z] tools.pex: error: unrecognized arguments: ::
The CI I'm using runs each step in its own container.silly-queen-7197
01/26/2024, 10:27 PMroot@codefresh:/codefresh/volume/archipelago$ export SCIE_BOOT=update
root@codefresh:/codefresh/volume/archipelago$ pants
Successfully installed scie-pants 0.10.6 to /usr/local/bin/pants
root@codefresh:/codefresh/volume/archipelago$ pants lint ::
usage: tools.pex
[-h]
[version]
tools.pex: error: unrecognized arguments: ::
root@codefresh:/codefresh/volume/archipelago$ unset SCIE_BOOT
root@codefresh:/codefresh/volume/archipelago$ pants lint ::
22:26:30.32 [INFO] Starting: Resolving plugins: hdrhistogram
...
silly-queen-7197
01/26/2024, 10:29 PMSCIE_BOOT=update pants
to each command which is just going to make everything slowersilly-queen-7197
01/26/2024, 10:30 PMsilly-queen-7197
01/26/2024, 10:42 PMSCIE_BOOT=update
. When I upgraded pants before CI never complained (but it would locally)silly-queen-7197
01/26/2024, 10:43 PMSCIE_BOOT
means besides update where its documented https://www.pantsbuild.org/2.18/docs/getting-started/installing-pantssilly-queen-7197
01/26/2024, 10:48 PMcurved-manchester-66006
01/27/2024, 1:21 AM