Hi folks! I'm looking into Pants as a way to build...
# welcome
c
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
Welcome! We're happy to help
What frameworks are you using for infra-as-code? E.g., terraform?
c
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
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
Hi Daniel! Happy to chat any time!
c
Awesome, thanks! I'm hoping to have some time this weekend to get my head around Pants rules and targets.
d
👍
How did that go?
c
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.