-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
75 lines (66 loc) · 3.39 KB
/
Copy path.env.example
File metadata and controls
75 lines (66 loc) · 3.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# =============================================================================
# Code Review Agent - Root environment template
# Copy to .env and fill in your values. Required for: make playground, make deploy-agent
# Validate with: make validate-env
# =============================================================================
# -----------------------------------------------------------------------------
# GitHub App (required for agent tools and webhook)
# -----------------------------------------------------------------------------
APP_ID_GITHUB=12345
INSTALLATION_ID_GITHUB=67890
# Optional: use a different installation for testing (e.g. test repo)
# INSTALLATION_ID_GITHUB_TEST=104240500
MYSELF=your-github-username
# -----------------------------------------------------------------------------
# Secret Manager (GitHub App private key; required for tools and webhook)
# -----------------------------------------------------------------------------
SECRET_MANAGER_PROJECT_ID=your-gcp-project-id-or-number
SECRET_MANAGER_SECRET_NAME=CODE_REVIEW_GITHUB_PRIVATE_KEY
# -----------------------------------------------------------------------------
# Vertex AI Agent Engine (required for deploy and webhook callback)
# -----------------------------------------------------------------------------
VERTEX_AI_LOCATION=us-central1
VERTEX_AI_PROJECT_ID=your-gcp-project-number
VERTEX_AI_RESOURCE_ID=your-reasoning-engine-resource-id
# -----------------------------------------------------------------------------
# GCP Project & deployment (required for make deploy-agent)
# -----------------------------------------------------------------------------
PROJECT_ID=your-gcp-project-id
DEPLOYMENT_REGION=us-central1
# -----------------------------------------------------------------------------
# Model & LLM (required for ADK / Agent Engine)
# -----------------------------------------------------------------------------
MODEL_LOCATION=us-central1
MODEL_NAME=gemini-2.5-flash
LLM_LOCATION=global
# -----------------------------------------------------------------------------
# Data store & telemetry (required by validate_env; used by deploy/plugins)
# -----------------------------------------------------------------------------
DATA_STORE_REGION=us
DATA_STORE_ID=code_review_agent_telemetry
STAGING_BUCKET=gs://your-staging-bucket
LOGS_BUCKET_NAME=your-logs-bucket
DATASET_ID=code_review_agent_telemetry
TABLE_ID=code_review_agent_events
# -----------------------------------------------------------------------------
# Agent Engine deployment config (required for make deploy-agent)
# -----------------------------------------------------------------------------
AGENT_DISPLAY_NAME=code-review-agent
AGENT_DESCRIPTION=Code Review agent for GitHub PRs
# Optional agent deploy vars (defaults used if unset):
# AGENT_SOURCE_PACKAGES=./agent
# AGENT_ENTRYPOINT_MODULE=agent_engine_app
# AGENT_ENTRYPOINT_OBJECT=agent_engine
# AGENT_REQUIREMENTS_FILE=agent/app_utils/.requirements.txt
# AGENT_MIN_INSTANCES=1
# AGENT_MAX_INSTANCES=10
# AGENT_CPU=4
# AGENT_MEMORY=8Gi
# AGENT_CONTAINER_CONCURRENCY=9
# AGENT_NUM_WORKERS=1
# -----------------------------------------------------------------------------
# Optional: local dev / overrides
# -----------------------------------------------------------------------------
# GITHUB_PRIVATE_KEY_PATH=/path/to/your-app.private-key.pem
# PEM_PATH=/path/to/your-app.private-key.pem
# INSTALLATION_ID_GITHUB_TEST=104240500