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

faint-dress-64989

01/06/2023, 3:29 PM
Using pants publish for shipping container to a container registry works beautifully! I was wondering if publish could also be used for moving pex files to s3 for different distribution use cases?
h

high-yak-85899

01/06/2023, 3:39 PM
I made a custom plug-in to publish pex files, but never got around to attempt to migrate it back to the repo. In my case, I was pushing the binaries to Artifactory, but going through s3 shouldn’t be a problem. It really wasn’t that bad and the docs about writing plugins are very helpful.
f

faint-dress-64989

01/06/2023, 3:40 PM
Thanks for the tip! I'll look into making a plugin
f

fresh-cat-90827

01/06/2023, 3:51 PM
if you are just getting started writing plugins, feel free to take a look at https://github.com/pantsbuild/pants/blob/main/docs/markdown/Tutorials/create-a-new-goal.md
5 Views