From ec7d5fb93a4fcc148f25853473440300c000fde8 Mon Sep 17 00:00:00 2001 From: Junjie Wang Date: Fri, 10 Jul 2026 14:30:11 -0700 Subject: [PATCH] Update GOOGLE_CLOUD_PROJECT for interactions path. --- .../antigravityinteractions/antigravityinteractions.go | 6 +++--- manifests/ax-deployment.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/harness/antigravityinteractions/antigravityinteractions.go b/internal/harness/antigravityinteractions/antigravityinteractions.go index f2aeeaf..430ed5a 100644 --- a/internal/harness/antigravityinteractions/antigravityinteractions.go +++ b/internal/harness/antigravityinteractions/antigravityinteractions.go @@ -77,7 +77,7 @@ const ( // Cloud project and location are read from these standard environment // variables (see https://github.com/google/ax#authentication). - envCloudProject = "PROJECT_ID" + envCloudProject = "GOOGLE_CLOUD_PROJECT" envCloudLocation = "GOOGLE_CLOUD_LOCATION" // defaultLocation is used when GOOGLE_CLOUD_LOCATION is unset. defaultLocation = "global" @@ -94,7 +94,7 @@ var _ harness.Execution = (*antigravityInteractionsExecution)(nil) // AntigravityInteractionsConfig configures an AntigravityInteractionsHarness. // Use New, which fills sensible defaults. // -// Cloud project and location come from the standard PROJECT_ID and +// Cloud project and location come from the standard GOOGLE_CLOUD_PROJECT and // GOOGLE_CLOUD_LOCATION environment variables. type AntigravityInteractionsConfig struct { // --- Required --- @@ -145,7 +145,7 @@ func (c *AntigravityInteractionsConfig) withDefaults() { } } -// cloudProject returns the Cloud project id from PROJECT_ID. +// cloudProject returns the Cloud project id from GOOGLE_CLOUD_PROJECT. func cloudProject() string { return os.Getenv(envCloudProject) } diff --git a/manifests/ax-deployment.yaml b/manifests/ax-deployment.yaml index 17bc95e..ff95ad0 100644 --- a/manifests/ax-deployment.yaml +++ b/manifests/ax-deployment.yaml @@ -94,8 +94,8 @@ spec: command: ["/ax-app/ax", "harness", "antigravity-interactions", "--host", "0.0.0.0", "--port", "80"] env: - - name: PROJECT_ID - value: "${PROJECT_ID}" + - name: GOOGLE_CLOUD_PROJECT + value: "${GOOGLE_CLOUD_PROJECT}" - name: AX_HARNESS_WORKDIR value: "/workspace" readyz: