Pin staging fleet distribution ports

d290578d0fa6 · AtlantisPleb · · parent f560bb3de759

Pin staging fleet distribution ports

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 infra/staging/templates/fleet-startup.sh.tftpl
  • modified test/openagents/staging_candidate_contract_test.exs

Diff

2 files changed, +2 -0

infra/staging/templates/fleet-startup.sh.tftpl modified +1

@@ -136,6 +136,7 @@ append_secret RELEASE_COOKIE openagents-staging-release-cookie /run/openagents/r

136 136
cat >>/run/openagents/runtime.env <<EOF
137 137
DNS_CLUSTER_QUERY=openagents-fleet.staging.internal
138 138
OPENAGENTS_IMAGE_DIGEST=$image_digest
139
OPENAGENTS_NODE_HOST=$instance_ip
139 140
RELEASE_DISTRIBUTION=name
140 141
RELEASE_NODE=openagents@$instance_ip
141 142
EOF
test/openagents/staging_candidate_contract_test.exs modified +1

@@ -50,6 +50,7 @@ defmodule OpenAgents.StagingCandidateContractTest do

50 50
51 51
    assert startup =~ "instance_ip=$(metadata instance/network-interfaces/0/ip)"
52 52
    assert startup =~ "DNS_CLUSTER_QUERY=openagents-fleet.staging.internal"
53
    assert startup =~ "OPENAGENTS_NODE_HOST=$instance_ip"
53 54
    assert startup =~ "RELEASE_NODE=openagents@$instance_ip"
54 55
    refute startup =~ "RELEASE_NODE=openagents@$instance_name.staging.internal"
55 56
    assert outputs =~ ~s("openagents@${instance_ip}" => instance_name)

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