File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,6 +83,15 @@ steps:
8383 # Maps the decrypted DB_PASSWORD to the exact variable expected by gemini_cli and extension skills
8484 export CLOUD_SQL_POSTGRES_PASSWORD=$$DB_PASSWORD
8585
86+ # Seed agy auth: this step overrides the image ENTRYPOINT (entrypoint: bash),
87+ # so entrypoint.sh never runs -- seed the token files here instead. HOME is
88+ # /builder/home in a Cloud Build step, which is exactly where the harness reads.
89+ AGY_DIR="$$HOME/.gemini/antigravity-cli"
90+ mkdir -p "$$AGY_DIR"
91+ printf '%s' "$$AGY_OAUTH_TOKEN" > "$$AGY_DIR/antigravity-oauth-token"
92+ printf '%s' "$$AGY_INSTALLATION_ID" > "$$AGY_DIR/installation_id"
93+ chmod 600 "$$AGY_DIR/antigravity-oauth-token" "$$AGY_DIR/installation_id"
94+
8695 # Combine CI metadata with all available run configs
8796 for config in /workspace/evals/*run_config.yaml; do
8897 if [ -f "$config" ]; then
You can’t perform that action at this time.
0 commit comments