Deploy The Frontend in CI/CD
Currently, both the adkadk_gemini_fullstack and live_api, don't deploy the fronted in the CI/CD pipeline.
Requests:
-
Add an incremental workflow added to deploy from Cloud Build.
-
Add
firebase init hosting:githubworkflow to deploy live and preview channels from GitHub. https://firebase.google.com/docs/hosting/github-integration
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 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.
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!