https://pantsbuild.org/ logo
#welcome
Title
# welcome
q

quiet-painter-18838

12/21/2021, 11:49 PM
Hi, Thanks for welcoming us. I’m exploring build systems for our mono-repo. Currently we are using python mainly and Bazel is a little bit weak for Python build. We are using k8s in backend and are applying GitOps procedure for our service. so if Pants is usable in terms of GitOps, we would like to use Pants as our build service. Anyway, nice to see you.
👋 5
h

happy-kitchen-89482

12/22/2021, 7:22 AM
We use k8s internally as well, so we have some experience here. What kind of gitops procedures are you using, for example?
q

quiet-painter-18838

12/22/2021, 9:03 AM
not so special. two repo; one for code, other for k8s yaml, helm and/or kustomize. code repo build image, then push to a container registry, then create k8s manifest and make PR to other repo.
What we expect pants to do is if we operate “package” (or “publish”? or maybe “run”?) command, pants will do commands that a common GitOps expects.
h

happy-kitchen-89482

12/22/2021, 12:26 PM
Got it. So you'll probably want a custom plugin to handle the post-push operations
(creating the manifest and generating the PR)
q

quiet-painter-18838

12/22/2021, 2:55 PM
Exactly. so I will use run_shell something command for this purpose.