Skip to content

Latest commit

 

History

69 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foundry

A CLI for managing Catalyst Community tech stacks and workflows.

Status

Foundry is under active development. The CLI can manage configuration, hosts, stack installation, Kubernetes components, storage, backups, DNS, and observability services.

Development

This project uses the v1/tools script for development commands.

Building

cd v1
./tools build        # Build the foundry binary
./tools build-static # Build a static binary (no CGO)

Testing

scripts/test-local.sh               # Run fast validation
scripts/test-local.sh --integration # Run integration tests

See the Testing Guide for kind and package-specific modes.

Other Commands

./tools lint    # Run linters (gofmt, go vet)
./tools clean   # Remove build artifacts
./tools install # Install to GOPATH/bin
./tools help    # Show all available commands

Working with CSIL-Generated Types

Foundry uses CSIL to define persistent data structures. Update the CSIL definitions before you regenerate Go types.

See the CSIL Workflow Guide for these tasks:

  • Modifying existing types
  • Adding new fields (breaking vs. non-breaking)
  • Regenerating Go code
  • Handling breaking changes

Project Structure

foundry/
├── v1/                          # Version 1 module
│   ├── cmd/foundry/            # Main entry point
│   ├── internal/               # Internal packages
│   │   ├── config/            # Configuration management
│   │   ├── secrets/           # Secret resolution
│   │   ├── ssh/               # SSH operations
│   │   └── host/              # Host management
│   ├── test/                  # Test fixtures and integration tests
│   └── tools                  # Development tool script
├── DESIGN.md                  # Architecture and design decisions
├── docs/                       # User and developer guides
└── scripts/                    # Local test scripts

Documentation

Design & Planning

  • DESIGN.md - Architecture, philosophy, and design decisions
  • CLAUDE.md - Development best practices and guidelines

Developer Guides

User Guides

Quick Start

# Build Foundry
cd v1
./tools build

# Initialize a configuration
./foundry config init

# Add a host
./foundry host add

# List hosts
./foundry host list

# Configure a host
./foundry host configure <hostname>

See the Getting Started Guide for more details.

Contributing

Join the Catalyst Community Discord to discuss and contribute.

License

See LICENSE file for details.

About

CLI tool for managing a Foundry stack to make operations minimally necessary to just code nice stuff.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages