Connect staging fleet through Cloud SQL Auth Proxy
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
Dockerfile -
modified
config/runtime.exs -
modified
docs/runtime-configuration.md -
modified
infra/staging/README.md -
modified
infra/staging/main.tf -
modified
infra/staging/templates/fleet-startup.sh.tftpl -
modified
infra/staging/tests/safety.tftest.hcl -
modified
ops/staging/validate-isolation.sh -
modified
test/openagents/staging_candidate_contract_test.exs
Diff
9 files changed, +65 -3
Dockerfile modified +1
@@ -104,6 +104,7 @@ FROM builder AS forge-builder
| 104 | 104 |
|
| 105 | 105 |
|
| 106 | 106 |
|
| 107 |
|
|
| 107 | 108 |
|
| 108 | 109 |
|
| 109 | 110 |
|
config/runtime.exs modified +1
docs/runtime-configuration.md modified +1
@@ -50,6 +50,7 @@ The setting accepts these values:
| 50 | 50 |
|
| 51 | 51 |
|
| 52 | 52 |
|
| 53 |
|
|
| 53 | 54 |
|
| 54 | 55 |
|
| 55 | 56 |
|
infra/staging/README.md modified +4
@@ -24,6 +24,10 @@ The configuration creates these staging-only resources:
| 24 | 24 |
|
| 25 | 25 |
|
| 26 | 26 |
|
| 27 |
|
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
| 27 | 31 |
|
| 28 | 32 |
|
| 29 | 33 |
|
infra/staging/main.tf modified +13 -1
@@ -30,6 +30,7 @@ locals {
| 30 | 30 |
|
| 31 | 31 |
|
| 32 | 32 |
|
| 33 |
|
|
| 33 | 34 |
|
| 34 | 35 |
|
| 35 | 36 |
|
@@ -41,7 +42,6 @@ locals {
| 41 | 42 |
|
| 42 | 43 |
|
| 43 | 44 |
|
| 44 |
|
|
| 45 | 45 |
|
| 46 | 46 |
|
| 47 | 47 |
|
@@ -322,12 +322,24 @@ resource "google_secret_manager_secret_iam_member" "web_env" {
| 322 | 322 |
|
| 323 | 323 |
|
| 324 | 324 |
|
| 325 |
|
|
| 326 |
|
|
| 327 |
|
|
| 328 |
|
|
| 329 |
|
|
| 330 |
|
|
| 325 | 331 |
|
| 326 | 332 |
|
| 327 | 333 |
|
| 328 | 334 |
|
| 329 | 335 |
|
| 330 | 336 |
|
| 337 |
|
|
| 338 |
|
|
| 339 |
|
|
| 340 |
|
|
| 341 |
|
|
| 342 |
|
|
| 331 | 343 |
|
| 332 | 344 |
|
| 333 | 345 |
|
infra/staging/templates/fleet-startup.sh.tftpl modified +33 -1
@@ -30,6 +30,7 @@ mkdir -p \
| 30 | 30 |
|
| 31 | 31 |
|
| 32 | 32 |
|
| 33 |
|
|
| 33 | 34 |
|
| 34 | 35 |
|
| 35 | 36 |
|
@@ -122,7 +123,7 @@ if grep -Eq '^(DATABASE_URL|SECRET_KEY_BASE|GITHUB_CLIENT_SECRET|GITHUB_TOKEN_EN
| 122 | 123 |
|
| 123 | 124 |
|
| 124 | 125 |
|
| 125 |
|
|
| 126 |
|
|
| 126 | 127 |
|
| 127 | 128 |
|
| 128 | 129 |
|
@@ -143,6 +144,37 @@ export DOCKER_CONFIG=/run/openagents/docker-config
| 143 | 144 |
|
| 144 | 145 |
|
| 145 | 146 |
|
| 147 |
|
|
| 148 |
|
|
| 149 |
|
|
| 150 |
|
|
| 151 |
|
|
| 152 |
|
|
| 153 |
|
|
| 154 |
|
|
| 155 |
|
|
| 156 |
|
|
| 157 |
|
|
| 158 |
|
|
| 159 |
|
|
| 160 |
|
|
| 161 |
|
|
| 162 |
|
|
| 163 |
|
|
| 164 |
|
|
| 165 |
|
|
| 166 |
|
|
| 167 |
|
|
| 168 |
|
|
| 169 |
|
|
| 170 |
|
|
| 171 |
|
|
| 172 |
|
|
| 173 |
|
|
| 174 |
|
|
| 175 |
|
|
| 176 |
|
|
| 177 |
|
|
| 146 | 178 |
|
| 147 | 179 |
|
| 148 | 180 |
|
infra/staging/tests/safety.tftest.hcl modified +1 -1
@@ -53,7 +53,7 @@ run "isolated_topology" {
| 53 | 53 |
|
| 54 | 54 |
|
| 55 | 55 |
|
| 56 |
|
|
| 56 |
|
|
| 57 | 57 |
|
| 58 | 58 |
|
| 59 | 59 |
|
ops/staging/validate-isolation.sh modified +1
@@ -110,6 +110,7 @@ jq -e '
| 110 | 110 |
|
| 111 | 111 |
|
| 112 | 112 |
|
| 113 |
|
|
| 113 | 114 |
|
| 114 | 115 |
|
| 115 | 116 |
|
test/openagents/staging_candidate_contract_test.exs modified +10
@@ -34,6 +34,16 @@ defmodule OpenAgents.StagingCandidateContractTest do
| 34 | 34 |
|
| 35 | 35 |
|
| 36 | 36 |
|
| 37 |
|
|
| 38 |
|
|
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
| 37 | 47 |
|
| 38 | 48 |
|
| 39 | 49 |
|