mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-16 05:20:22 +08:00
48 lines
1.3 KiB
TOML
48 lines
1.3 KiB
TOML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# OpenShell mise configuration
|
|
# See https://mise.jdx.dev/ for documentation
|
|
#
|
|
# Tasks are defined in tasks/*.toml — run `mise tasks` to list them all.
|
|
|
|
redactions = ["*_TOKEN", "*_PASSWORD"]
|
|
|
|
[settings]
|
|
experimental = true
|
|
|
|
[tools]
|
|
python = "3.13.12"
|
|
rust = "stable"
|
|
kubectl = "1.35.1"
|
|
uv = "0.10.2"
|
|
protoc = "29.6"
|
|
helm = "4.1.1"
|
|
"ubi:mozilla/sccache" = { version = "0.14.0", matching = "sccache-v" }
|
|
"ubi:anchore/syft" = { version = "1.42.2", matching = "syft_" }
|
|
"ubi:EmbarkStudios/cargo-about" = "0.8.4"
|
|
|
|
[env]
|
|
_.path = ["{{config_root}}/scripts/bin"]
|
|
_.python.venv = { path = ".venv", create = true }
|
|
_.file = [".env"]
|
|
|
|
KUBECONFIG = "{{config_root}}/kubeconfig"
|
|
UV_CACHE_DIR = "{{config_root}}/.cache/uv"
|
|
|
|
# Enable sccache for faster Rust builds.
|
|
# Local builds use a disk cache (SCCACHE_DIR); CI sets SCCACHE_MEMCACHED_ENDPOINT
|
|
# via repository variables to use a shared memcached backend instead.
|
|
RUSTC_WRAPPER = "sccache"
|
|
SCCACHE_DIR = "{{config_root}}/.cache/sccache"
|
|
|
|
# Shared build constants (overridable via environment)
|
|
DOCKER_BUILDKIT = "1"
|
|
|
|
[vars]
|
|
# Python paths to include in formatting/linting
|
|
python_paths = "python/ tasks/scripts/*.py deploy/sbom/*.py"
|
|
|
|
[task_config]
|
|
includes = ["tasks/*.toml"]
|