Use scoped SCV image builder

951f10061b17 · AtlantisPleb · · parent 286279cf4a71

Use scoped SCV image builder

Deploy story

What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.

Not deployed through the forge lane

No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.

Changed files

  • modified ops/scv/images/build-opencode-core-cloud.sh
  • modified ops/scv/images/cloudbuild-opencode-core.yaml

Diff

2 files changed, +3 -0

ops/scv/images/build-opencode-core-cloud.sh modified +2

@@ -6,6 +6,7 @@ source "${repo_root}/ops/scv/images/versions.env"

6 6
7 7
project=${SCV_GCP_PROJECT:?Set SCV_GCP_PROJECT to the staging Google Cloud project}
8 8
region=${SCV_GCP_REGION:-us-central1}
9
build_service_account=${SCV_BUILD_SERVICE_ACCOUNT:-oa-cloud-image-builder@${project}.iam.gserviceaccount.com}
9 10
git_sha=${SCV_BUILD_REVISION:-$(git -C "${repo_root}" rev-parse HEAD)}
10 11
source_date_epoch=$(git -C "${repo_root}" show -s --format=%ct "${git_sha}")
11 12
image=${SCV_IMAGE:-${region}-docker.pkg.dev/${project}/openagents-scv-staging/opencode-core:${git_sha}}

@@ -36,4 +37,5 @@ gcloud builds submit "${repo_root}" \

36 37
  --config="${repo_root}/ops/scv/images/cloudbuild-opencode-core.yaml" \
37 38
  --project="${project}" \
38 39
  --region="${region}" \
40
  --service-account="projects/${project}/serviceAccounts/${build_service_account}" \
39 41
  --substitutions="${substitution_csv}"
ops/scv/images/cloudbuild-opencode-core.yaml modified +1

@@ -38,5 +38,6 @@ steps:

38 38
images:
39 39
  - ${_IMAGE}
40 40
options:
41
  logging: CLOUD_LOGGING_ONLY
41 42
  machineType: E2_HIGHCPU_8
42 43
timeout: 1800s

This page updates live while a promote is in flight · changelog