mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
test(multiplayer): isolate agones lifecycle smoke
This commit is contained in:
@@ -63,7 +63,17 @@ kubectl wait --for=condition=available deployment/agones-allocator \
|
||||
# this isolated run only, replace that exact placeholder with the image loaded
|
||||
# into kind. No repository manifest is modified and no mutable image is used
|
||||
# outside the disposable cluster.
|
||||
sed "s|ghcr.io/cosmic-clash/game-server@sha256:$(printf '0%.0s' {1..64})|$game_server_image|" \
|
||||
#
|
||||
# This runner is intentionally an Agones lifecycle smoke, not a substitute for
|
||||
# the production control-plane gate: there is no PostgreSQL/API/roster backend
|
||||
# in this disposable cluster. Disable only those production-only child paths so
|
||||
# the real supervisor can validate the assigned endpoint, launch the exported
|
||||
# server, and call the Agones SDK Ready endpoint.
|
||||
zero_digest="$(printf '0%.0s' {1..64})"
|
||||
sed -e "s|ghcr.io/cosmic-clash/game-server@sha256:${zero_digest}|$game_server_image|" \
|
||||
-e 's|--control-plane-url=http://control-plane.cosmic-clash.svc.cluster.local:8080|--control-plane-url=|' \
|
||||
-e '/- --roster-path=\/run\/cosmic-clash\/join-roster.json/d' \
|
||||
-e '/- --allocated-mode$/d' \
|
||||
deploy/k8s/base/fleet.yaml > "$work_dir/fleet.yaml"
|
||||
|
||||
kubectl apply -f deploy/k8s/base/namespace.yaml
|
||||
|
||||
Reference in New Issue
Block a user