Skip kingfisher in CI container builds
Kingfisher's Rust + Boost/vectorscan build exhausts indri's memory (aws-sdk-ec2 alone needs 2-3GB for rustc). Build locally on Gilbert and push manually until we have a beefier build host. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
924325ebd5
commit
a842b9c1e8
1 changed files with 8 additions and 0 deletions
|
|
@ -46,10 +46,18 @@ jobs:
|
|||
|
||||
echo "Changed containers: $CHANGED"
|
||||
|
||||
# Containers that are too resource-intensive to build on k8s (indri).
|
||||
# These must be built locally and pushed manually.
|
||||
SKIP_CONTAINERS="kingfisher"
|
||||
|
||||
# Classify each container by build type (a container can appear in both)
|
||||
DOCKERFILE='[]'
|
||||
NIX='[]'
|
||||
for name in $(echo "$CHANGED" | jq -r '.[]'); do
|
||||
if echo "$SKIP_CONTAINERS" | grep -qw "$name"; then
|
||||
echo "Skipping $name (in SKIP_CONTAINERS — build locally)"
|
||||
continue
|
||||
fi
|
||||
has_any=false
|
||||
if [ -f "containers/$name/Dockerfile" ]; then
|
||||
DOCKERFILE=$(echo "$DOCKERFILE" | jq -c --arg n "$name" '. + [$n]')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue