Hi all. I'm working on setting up Google Cloud Bui...
# welcome
e
Hi all. I'm working on setting up Google Cloud Build and want to use Pants. How can I run Pants in a Cloud Build CI/CD environment?
👋 4
g
Hey Darren! It requires no more setup than any other tool -- probably less. Our CI scripts look simply like
Copy code
./get-pants.sh
pants lint ::
etc! You can build a base-image with Pants pre-installed; but in my experience it isn't worth it, though we use semi-persistent runners (Buildkite). There's some docs over here with some specific workflows and tips: https://www.pantsbuild.org/docs/using-pants-in-ci. If you have more specific questions, we can probably give you more helpful information!
e
Awesome. Nice and easy. Thank you!
g
No problems 🙂 Be sure to head over to #general as well, where we'll happily help out with any follow-up or other questions.