https://pantsbuild.org/ logo
#general
Title
# general
g

gorgeous-eve-12553

07/09/2021, 7:34 PM
Are there any instructions on how to run pants in an airgapped environment? I see specific call-outs of needing to bootstrap itself from the internet.
h

hundreds-father-404

07/09/2021, 8:26 PM
Hi Tory! It depends how tight the airgapping is. If you have access to certain networks, this proxies doc may be sufficient: https://www.pantsbuild.org/docs/proxies If it's not, we're very open to ideas for how to improve things If you can't have network access at all, that may be harder but I think could be doable? https://github.com/pantsbuild/pants/issues/5253. You can set some things to download from the local file system, including native binaries like
protoc
and Python dependency resolution
What languages are you looking to support?
g

gorgeous-eve-12553

07/09/2021, 9:07 PM
Only python
And it is a pure airgap.
We do have some faked proxies, for example pypi looks and acts like the real thing. But it is our personally hosted replica of it aliased to the same name.
3 Views