Hello, newbie here!!! to Pulumi that is , success...
# getting-started
l
Hello, newbie here!!! to Pulumi that is , successfully converted Terraform to Pulumi -Python and working great (locally with Pulumi Cloud backend) , am stuck with CI/CD , have followed https://www.pulumi.com/docs/using-pulumi/continuous-delivery/google-cloud-build/#use-the-pulumi-community-builder-image-for-google-cloud-build just using a quickstart (python) example (create a GCP storage bucket) successful in that the build is starting but failing in creating virtualenv etc.... added
python --version
and
python3 --version
to the
pulumi.sh
and can see that the
<http://gcr.io/cloud-builders/yarn|gcr.io/cloud-builders/yarn>
does not have the required python versions. I read in https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/pulumi
This builder installs the Pulumi CLI in a Node 8-based Docker image. You can use this image to install other language tools too. If you would like to see the Pulumi builder for other languages, please contact us on our community Slack.
So Here I am on Slack can someone point me to a Cloud-Builder image or a recipe for one that will do Pulumi - Python flavor. I am about to embark on creating one from Cloud-Builder/Docker but am feeling like I am reinventing "The Wheel" and possibly this already exists, Thank you if anyone can assist 🙏
s
Welcome to Pulumi! Apologies, but I’m not familiar with Cloud Builder. In looking at the
Dockerfile
in the repo you linked, it looks like it’s just a Pulumi container with
cloudbuild.yaml
added. If that’s the case, then I would think that you could use this base image: https://hub.docker.com/r/pulumi/pulumi-python And then just add in the
cloudbuild.yaml
file you need. I could be mistaken, though.
l
@salmon-account-74572 Thanks for responding, I have found that and managed to get something working, based on it, will tidy it up and update this thread
s
Sounds great! We’d happily accept a PR to update our docs, if you feel that’s appropriate. Or, if you have your own blog or site, it would be awesome if you wrote up and shared the knowledge gained through this experience. If I can help with either of those, let me know!