mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-22 06:19:47 +08:00
Add Apache 2.0 licensing, SPDX copyright headers on all source files, DCO enforcement, third-party notices, and CI enforcement. - LICENSE: Apache License 2.0 full text - DCO: Developer Certificate of Origin 1.1 - SPDX headers on all 176 source files (.rs, .py, .proto, .rego, .sh, .toml, .yaml, Dockerfiles) - scripts/update_license_headers.py: header management with --check mode - scripts/generate_third_party_notices.py: dependency license aggregation - THIRD-PARTY-NOTICES: generated listing of all Rust and Python deps - build/license.toml: mise tasks for license:check and license:update - CI: license-headers job in checks.yml, DCO check workflow - CONTRIBUTING.md: DCO sign-off requirement and license header docs - Cargo.toml: license changed to Apache-2.0, repository URL updated - pyproject.toml: license field added Closes #58
42 lines
1.5 KiB
TOML
42 lines
1.5 KiB
TOML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Docker image build tasks
|
|
|
|
["docker:build"]
|
|
description = "Build all Docker images"
|
|
depends = [
|
|
"docker:build:sandbox",
|
|
"docker:build:server",
|
|
"docker:build:cluster",
|
|
]
|
|
|
|
["docker:build:ci"]
|
|
description = "Build the CI Docker image"
|
|
run = "build/scripts/docker-build-component.sh ci"
|
|
|
|
["docker:build:sandbox"]
|
|
description = "Build the sandbox Docker image (base variant)"
|
|
run = "build/scripts/docker-build-component.sh sandbox --build-arg RUST_BUILD_PROFILE=${RUST_BUILD_PROFILE:-debug}"
|
|
|
|
["docker:build:sandbox:nvidia"]
|
|
description = "Build the NVIDIA GPU sandbox Docker image"
|
|
depends = ["docker:build:sandbox"]
|
|
run = "build/scripts/docker-build-component.sh sandbox nvidia --build-arg BASE_IMAGE=navigator/sandbox:${IMAGE_TAG:-dev}"
|
|
|
|
["docker:build:server"]
|
|
description = "Build the server Docker image"
|
|
run = "build/scripts/docker-build-component.sh server"
|
|
|
|
["docker:build:cluster"]
|
|
description = "Build the k3s cluster image (component images pulled at runtime from registry)"
|
|
run = "build/scripts/docker-build-cluster.sh"
|
|
|
|
["docker:build:cluster:multiarch"]
|
|
description = "Build multi-arch cluster image and push to a registry"
|
|
run = "build/scripts/docker-publish-multiarch.sh --mode registry"
|
|
|
|
["docker:publish:cluster:multiarch"]
|
|
description = "Build and publish multi-arch cluster image to ECR"
|
|
run = "build/scripts/docker-publish-multiarch.sh --mode ecr"
|