Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions benchmarking/locust/build_and_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,17 @@ fi

IMAGE="us-docker.pkg.dev/${PROJECT_ID}/gcr.io/ate-images/locust-test:latest"

echo "Building Docker image: $IMAGE"
# Target platform must match the cluster's nodes, not the build host. Without
# this, an arm64 workstation (Apple Silicon) pushes an arm64 image, the push
# succeeds, and the failure only surfaces two steps later when the kubelet on an
# amd64 node reports "no match for platform in manifest". Override for arm64
# node pools (T2A, Axion).
PLATFORM="${LOCUST_IMAGE_PLATFORM:-linux/amd64}"

echo "Building Docker image: $IMAGE (platform: $PLATFORM)"
# Build context is the monorepo root because the Dockerfile compiles the
# boomer-glutton Go binary alongside the Python install (see Dockerfile).
docker build -t "$IMAGE" -f benchmarking/locust/Dockerfile .
docker build --platform "$PLATFORM" -t "$IMAGE" -f benchmarking/locust/Dockerfile .

echo "Pushing Docker image..."
docker push "$IMAGE"
Expand Down
5 changes: 4 additions & 1 deletion hack/install-ate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,10 @@ deploy_atenet() {
run_ko apply -f manifests/ate-install/atenet-router.yaml
run_ko apply -f manifests/ate-install/atenet-dns.yaml
run_kubectl rollout status deployment/atenet-router -n ate-system --timeout=120s
run_kubectl rollout status deployment/atenet-dns -n ate-system --timeout=120s
# The Deployment in atenet-dns.yaml is named "dns"; every other resource in
# that file is "atenet-dns". Waiting on the filename rather than the actual
# Deployment made this step fail with NotFound on every successful deploy.
run_kubectl rollout status deployment/dns -n ate-system --timeout=120s
}

# get_actor_status echoes the actor's status enum (e.g. STATUS_SUSPENDED).
Expand Down
Loading