Cloud Build Where am I??

Goolge Cloud Build is an amazing and powerful capability and my favorite GCP service.

However, it can be hard to conceptualize what’s happening inside the builder during its run.

You can actually run almost any linux script inside the builder. We can use this to create some commands that send some valuable debugging information to the build session/log:

If you drop this Build Step near the top of your cloudbuild.yaml you can see what’s in the builder parent directory, where you Dockerfile is, etc.

Written on August 13, 2022