Files
OpenShell/tasks/gateway.toml
T
Jim Meyer 567d36033b fix(build): raise file limit for native gateway builds (#3122)
Native gateway builds exhaust the default open-file soft limit. Raise the
soft limit to the hard limit (capped) in the shared build environment and
apply it from the gateway task scripts.

Explicitly read the current soft limit and only raise it when needed.

Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
2026-10-23 21:59:15 +00:00

26 lines
952 B
TOML

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# Standalone gateway tasks
["build:gateway"]
description = "Build the standalone openshell-gateway binary"
run = "bash -c 'source tasks/scripts/build-env.sh && ensure_build_nofile_limit && cargo build -p openshell-gateway --bin openshell-gateway'"
hide = true
["gateway"]
description = "Run a standalone gateway with the detected compute driver"
run = "bash tasks/scripts/gateway.sh"
["gateway:docker"]
description = "Run a standalone gateway with the bundled Docker compute driver"
run = "bash tasks/scripts/gateway-docker.sh"
["gateway:podman"]
description = "Run a standalone gateway with the bundled Podman compute driver"
run = "bash tasks/scripts/gateway-podman.sh"
["gateway:vm"]
description = "Run a standalone gateway with the bundled VM compute driver"
run = "bash tasks/scripts/gateway-vm.sh"