Can I hook into the <experimental deploy> somehow ...
# general
p
Can I hook into the experimental deploy somehow with adhoc tools? Or maybe I don’t need too. I’d like a way to deploy cloud run services to GCP. Where I would: Create pex binary, package that into a docker image, push image and then pass the digest/identifier to a template of the service yaml and then use the gcloud sdk to apply that service manifest.
It would preferable to not use pants publish then pants run.
I figured one bump wouldn’t hurt for 👀
w
@ancient-vegetable-10556 Is there any particular interop with any of the existing Pants goals and adhoc-tool (other than run?)
a
Not presently
👍 1
p
Got it. Thanks SJ and Chris. Sounds like I should explore writing a plugin like the helm deploy.
🎉 1
n
I've only ever used terraform, separate to Pants, to deploy the latest image - either based on picking up the latest hash, or a fixed version in code, or it's also possible to query and filter the GCP artifact registry API data to get the latest image tag starting with a certain pattern.