[Python] Cloud Run deployment from Github does not execute build. No logs

Discussão em 'Python' iniciado por Stack, Março 11, 2025.

  1. Stack

    Stack Membro Participativo

    I built a flask app which I am trying to deploy to Google Cloud Run. My code base is on Github in a private repository. However, the following error occurs: "Cloud Build trigger was created, but the Cloud Build trigger execution failed"

    From Cloud Run, I selected "Connect Repo". Then "Setup with Cloud Build". Connect my Github repository, select "Dockerfile" and finish setting up the config.

    When I access the service url "https://<>.a.run.app/", the default error page appears and states that repository has failed to build and deploy, further instructing me to troubleshoot based on checking build logs, however build history page of the console shows no logs at all. Indicating that GCP couldn't get to the build part yet.

    All deployment process was performed on the web console, not the google sdk cli. Billing is enabled (I have gen1 cloud functions which have worked for years and I am trying to migrate to gen2). I have also tried setting specific permissions in IAM. None have worked so far.

    [​IMG]

    Continue reading...

Compartilhe esta Página