Skip to main content

Rigyard

Rigyard is a configuration-driven CLI for containerized robotics development. A single project manifest organizes layered image builds, development containers, project builds and tests inside containers, project-specific tasks, and multi-process debugging scenarios managed by tmux.

Features

  • Build layered images from ordered Dockerfile fragments.
  • Create reproducible development containers and run lifecycle hooks.
  • Run project build scripts inside existing containers, starting stopped containers when allowed.
  • Run user-defined test and test-result commands with the same configurable start behavior.
  • Expose constrained project-specific container tasks through the CLI and interactive menu.
  • Start tmux debugging scenarios in existing containers or Docker Compose services.
  • Reuse configuration with global variables, string templates, and interactive runtime values.
  • Use the same application behavior through direct commands or a branded one-shot interactive menu.

Requirements

  • Linux and Bash for the setup script; it installs Python 3.12 and Rigyard using uv
  • Docker for container operations; Compose scenarios require Docker Compose v2
  • Scenario support requires tmux on the host and an interactive shell in each target container

Installation

For Linux, download the standalone installer and install Rigyard from PyPI without cloning the repository or preinstalling Python:

curl -fsSL https://raw.githubusercontent.com/zz990099/Rigyard/main/scripts/bootstrap_from_pypi.sh \
  -o bootstrap_from_pypi.sh
bash bootstrap_from_pypi.sh
"${XDG_DATA_HOME:-$HOME/.local/share}/rigyard/venv/bin/rigyard" --version

The installer downloads uv if needed, creates a dedicated Python environment, and prints the executable path. No activation is required. Docker, Compose, and tmux are checked but installed separately when needed. See installation and requirements for wget, version pinning, source-checkout setup, and troubleshooting. For development, see the contribution guide.

Quick start

By default, Rigyard reads rigyard.yaml from the current directory:

version: 3

metadata:
  name: robot-development

workspace:
  command_alias: robot

variables:
  PROJECT_ROOT: ${RIGYARD_ROOT}
  BRANDING_ROOT: ${PROJECT_ROOT}/branding
  CONTAINER_WORKSPACE_ROOT: /workspace

branding:
  logo_file: ${BRANDING_ROOT}/logo.txt

sources:
  images: [config/images.yaml]
  containers: [config/containers.yaml]
  builds: [config/builds.yaml]
  tests: [config/tests.yaml]
  tasks: [config/tasks.yaml]
  scenarios: [config/scenarios.yaml]

Validate the configuration and run configured operations:

rigyard validate
rigyard image build development
rigyard container create development
rigyard build native
rigyard test run unit
rigyard test report unit
rigyard task run clean
rigyard scene start robot-system development

Run rigyard without a subcommand to open the one-shot interactive menu:

rigyard

With the built-in logo and the example sources configured, the menu looks like this (colours omitted):

$ rigyard
██████╗ ██╗ ██████╗ ██╗   ██╗ █████╗ ██████╗ ██████╗
██╔══██╗██║██╔════╝ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
██████╔╝██║██║  ███╗ ╚████╔╝ ███████║██████╔╝██║  ██║
██╔══██╗██║██║   ██║  ╚██╔╝  ██╔══██║██╔══██╗██║  ██║
██║  ██║██║╚██████╔╝   ██║   ██║  ██║██║  ██║██████╔╝
╚═╝  ╚═╝╚═╝ ╚═════╝    ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝╚═════╝

Project: robot-development
Configuration: /workspace/robot-development/rigyard.yaml

1) Build image
2) Create container
3) Build project
4) Scene…
5) Test…
6) Tasks…
0) Exit
Select [0-6]:

Custom terminal logos can be inline or loaded from a templated path; see the root manifest guide.

When the manifest lives elsewhere, pass it explicitly or bind the current workspace:

rigyard --config path/to/rigyard.yaml validate
rigyard init -f path/to/rigyard.yaml
robot build native

Configured aliases are installed in the active Conda or virtual environment. They are generic commands that discover the nearest current-or-parent workspace at runtime, so the same alias can be shared by multiple workspaces. They can be removed with rigyard alias remove.

Documentation

Start with the minimal example or browse the complete robot-development reference project.

License

MIT


Powered by Codex — AI-assisted development and documentation.

Metadata

Release files for rigyard 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rigyard 1.0.5
File Size Uploaded Provenance Actions
rigyard-1.0.5.tar.gz 175.3 kB With provenance Details for rigyard-1.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rigyard 1.0.5
File Interpreter ABI Platform Actions
rigyard-1.0.5-py3-none-any.whl Python 3 none any Details for rigyard-1.0.5-py3-none-any.whl

Total release size: 298.9 kB

Release files / rigyard-1.0.5.tar.gz

Download URL rigyard-1.0.5.tar.gz
Size 175.3 kB
Tags Source
SHA-256 checksum
How to use checksums
043c7422db1ac1a29b22a27b73b05df642a3dff6313c852a02e6cc3fc24ebb5c
BLAKE2b-256 checksum
How to use checksums
e1815670aa242aa22df23487bfd3d65275d131e40c34f3224c385262dc9e3c38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / rigyard-1.0.5-py3-none-any.whl

Download URL rigyard-1.0.5-py3-none-any.whl
Size 123.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ab03bd9b2460f2edb32d27af2bcf482beb208fa034d5477edbade172fa7f187
BLAKE2b-256 checksum
How to use checksums
9197f7b6b87cd7d3fdd000a89fc5e590379701727a4084a60a1eff0c11501a8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for rigyard 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rigyard-1.0.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page