mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-17 05:31:16 +08:00
37 lines
1.1 KiB
TOML
37 lines
1.1 KiB
TOML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Cluster bootstrap and deploy tasks
|
|
|
|
[cluster]
|
|
description = "Bootstrap or incremental deploy (creates cluster if needed, rebuilds changed components)"
|
|
run = "tasks/scripts/cluster.sh"
|
|
|
|
["cluster:build:full"]
|
|
description = "Build and deploy local k3s cluster with OpenShell"
|
|
depends = [
|
|
"docker:build:gateway",
|
|
]
|
|
run = "tasks/scripts/cluster-bootstrap.sh build"
|
|
hide = true
|
|
|
|
["cluster:deploy"]
|
|
description = "Alias for cluster (incremental deploy)"
|
|
run = "tasks/scripts/cluster.sh"
|
|
hide = true
|
|
|
|
["cluster:deploy:supervisor"]
|
|
description = "Fast deploy supervisor binary changes (docker cp into cluster)"
|
|
run = "tasks/scripts/cluster-deploy-fast.sh supervisor"
|
|
hide = true
|
|
|
|
["cluster:deploy:all"]
|
|
description = "Pull-mode deploy using local registry pushes"
|
|
run = "tasks/scripts/cluster-deploy-fast.sh all"
|
|
hide = true
|
|
|
|
["cluster:push:gateway"]
|
|
description = "Tag and push gateway image to pull registry"
|
|
run = "tasks/scripts/cluster-push-component.sh gateway"
|
|
hide = true
|