Skip to content

Commit 8810634

Browse files
feat: parameterize evaluation reporting project ID using environment variable
1 parent d8dc10e commit 8810634

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

cloudbuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ steps:
6969
export EVAL_GCP_PROJECT_ID=$PROJECT_ID
7070
export GOOGLE_CLOUD_PROJECT=$PROJECT_ID
7171
export EVAL_GCP_PROJECT_REGION=$_EVAL_REGION
72+
export EVAL_REPORTING_PROJECT=$_EVAL_REPORTING_PROJECT
73+
7274
7375
# Combine CI metadata with run config
7476
cat /workspace/evals/ci_metadata.yaml >> /workspace/evals/run_config.yaml

evals/run_config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ scorers:
3838

3939
reporting:
4040
bigquery:
41-
gcp_project_id: cloud-db-nl2sql
41+
gcp_project_id: "${EVAL_REPORTING_PROJECT}"
42+

0 commit comments

Comments
 (0)