Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google Compute Engine

Hello,

I need to run a software build triggered by a github action that takes ~1 hour to build. It first launches a dev docker container, builds code in the docker container, copies the build out of the container and then builds a new container with the output.

I have a setup right now that will launch a google compute engine in a github action, ssh into the vm and run commands to accomplish said tasks. However, it keeps timing out before the build completes.

I have been looking into using google workflows to accomplish this as well but can't seem to find a strategy that doesn't end up using ssh anyway.

 

Does anyone know of a way to accomplish a long running task inside of a compute engine? Preferably this would also have outputs from commands for debugging.

Thanks!

1 1 154