agent-starter-pack icon indicating copy to clipboard operation
agent-starter-pack copied to clipboard

Deploy The Frontend in CI/CD

Open Kurry opened this issue 6 months ago • 3 comments

Currently, both the adkadk_gemini_fullstack and live_api, don't deploy the fronted in the CI/CD pipeline.

Requests:

  1. Add an incremental workflow added to deploy from Cloud Build.

  2. Add firebase init hosting:github workflow to deploy live and preview channels from GitHub. https://firebase.google.com/docs/hosting/github-integration

Kurry avatar Jun 23 '25 06:06 Kurry

adk_gemini_fullstack and all the other adk agents actually do deploy the frontend as well. see this line

The detail is that Cloud Run is not deployed with Identity Aware proxy enabled. See docs

This is intentional, as if you enable IAP, then the way of authorizing interaction with the agent changes drastically (you'd have to work with IAP credentials). Working on a PR to facilitate IAP based deployment if the user requires it!

eliasecchig avatar Jun 23 '25 17:06 eliasecchig

@eliasecchig I was talking about the React front ends like this: https://github.com/GoogleCloudPlatform/agent-starter-pack/tree/main/src/frontends/adk_gemini_fullstack/frontend

I am aware that I am able to get the FastAPI docs endpoint, and the web servers from the agents.

Kurry avatar Jun 26 '25 04:06 Kurry

I see! for samples like Gemini Fullstack, we added this documentation to allow for deployment!

https://googlecloudplatform.github.io/agent-starter-pack/guide/deploy-ui.html

It's also possible to do in a more structure manner, by mounting the static frontend as part of the fast api backend. Hope this helps!

eliasecchig avatar Aug 23 '25 16:08 eliasecchig