https://pantsbuild.org/ logo
c

careful-address-89803

02/06/2022, 11:56 PM
Hi folks! I'm looking into Pants as a way to build our Infrastructure-as-Code repo. It has countless little scripts and packages and other artifacts, so we thought we could try treating it as a monorepo and seeing how that goes. I heard about Pants from the EuroPython talk from 2021.
👋 4
h

happy-kitchen-89482

02/07/2022, 1:28 AM
Welcome! We're happy to help
What frameworks are you using for infra-as-code? E.g., terraform?
c

careful-address-89803

02/11/2022, 4:31 AM
Hiya! We're mostly using Ansible, and most of the tools are in bash or Python.
The Python support is going to be great, up to now we'd have buildscripts just
cd
into the directory where a script lived and I was sad every time. Although it looks like it's not that hard to implement a plugin for Ansible.
h

happy-kitchen-89482

02/11/2022, 6:29 AM
I'm not super familiar with Ansible, but I suspect it would not be hard, and we're happy to help.
I think @dry-analyst-73584 has Ansible experience, and, separately, Pants experience
So she might have thoughts
d

dry-analyst-73584

02/11/2022, 7:12 PM
Hi Daniel! Happy to chat any time!
c

careful-address-89803

02/12/2022, 6:03 AM
Awesome, thanks! I'm hoping to have some time this weekend to get my head around Pants rules and targets.
d

dry-analyst-73584

02/14/2022, 6:54 PM
👍
How did that go?
c

careful-address-89803

02/20/2022, 3:21 AM
Last week was a write-off, but I got around to this today. I found the "Common plugin tasks" sections really useful. They helped most of the pieces stick together, and they look like a nice recipe for doing most of what I'd need and getting familiar with Pants in the process. I'm still uncertain about the general plan for adding a new language. It's probably not a common or basic task for programming languages, but in the devops world there are lots of specialised "languages". I think it would be helpful to have a doc which tied together the relevant sections into a rough outline. I'm sure it'll become clearer when I start looking into how some of the languages are implemented.
3 Views