No description
Find a file
joe d0d29139e5
Some checks failed
Build Simple CLI / build (push) Failing after 1s
Add comprehensive documentation, live-build configuration, and testing framework
- Add community release and integration documentation
- Add production deployment and testing framework guides
- Add live-build configuration with hooks and package lists
- Add VM management and testing scripts
- Update .gitignore to block build artifacts and large files
- Remove old bootc package file
- Add comprehensive project completion summary
2025-08-19 20:54:58 -07:00
.github/workflows initial commit 2025-08-12 15:59:34 -07:00
docs Integrate Particle-OS tools into simple-cli 2025-08-15 07:56:10 -07:00
etc Integrate Particle-OS tools into simple-cli 2025-08-15 07:56:10 -07:00
live-build-config/config Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
scripts Integrate Particle-OS tools into simple-cli 2025-08-15 07:56:10 -07:00
tools Integrate Particle-OS tools into simple-cli 2025-08-15 07:56:10 -07:00
usr Integrate Particle-OS tools into simple-cli 2025-08-15 07:56:10 -07:00
.gitignore Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
COMMUNITY_RELEASE_ANNOUNCEMENT.md Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
COMMUNITY_RELEASE_GUIDE.md Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
connect-vm.sh Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
Containerfile Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
demo-concepts.sh Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
demo-working-tools.sh Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
end-to-end-test.sh Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
INTEGRATION_SUCCESS.md Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
justfile Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
manage-simple-vm.sh Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
manage-vm.sh Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
PRODUCTION_DEPLOYMENT.md Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
PROJECT_COMPLETION_SUMMARY.md Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
readme-simple.md initial commit 2025-08-12 15:59:34 -07:00
README.md Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
recipe.yml Integrate Particle-OS tools into simple-cli 2025-08-15 07:56:10 -07:00
SCOPE.md Integrate Particle-OS tools into simple-cli 2025-08-15 07:56:10 -07:00
test-boot-full.sh Add .gitignore, clean up build artifacts, add test scripts and configuration files 2025-08-12 20:13:38 -07:00
test-boot.sh Add .gitignore, clean up build artifacts, add test scripts and configuration files 2025-08-12 20:13:38 -07:00
test-integration.sh Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
test-particle-os-iso.sh Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
TESTING_FRAMEWORK.md Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00
validate-atomic-workflow.sh Add comprehensive documentation, live-build configuration, and testing framework 2025-08-19 20:54:58 -07:00

Particle-OS Simple-CLI

Overview

Particle-OS Simple-CLI is a development and testing environment that demonstrates the core Particle-OS concepts working together. It inherits directly from the Debian Atomic foundation and integrates all three core Particle-OS tools:

  • apt-ostree: Atomic package management
  • bootupd: Bootloader update management
  • bootc: Container deployment and management

Architecture

Debian Atomic (proven foundation)
    ↓
Particle-OS Simple-CLI
    ↓
Integrated tools: apt-ostree + bootupd + bootc

Features

  • Clean Architecture: Direct inheritance from Debian Atomic
  • Tool Integration: All three Particle-OS tools working together
  • Concept Proofing: Atomic update workflow demonstrated
  • SSH Access: Remote access configured and ready
  • OSTree Foundation: Full OSTree system with all features

Quick Start

Build the Container

just build-with-tools-ssh

Test the Integration

just test

Run the Demo

./demo-concepts.sh

Available Commands

  • verify-tools - Verify all Particle-OS tools are available
  • simple-cli-welcome - Show welcome message and available commands
  • demo-concepts.sh - Demonstrate all tools working together

Tool Status

Tool Status Version Notes
apt-ostree Working 0.1.0 1,470 packages available
bootupd Working 0.2.28 EFI components detected
bootc Working 1.6.0 Container deployment ready
OSTree Working 2025.2 Full feature set

Testing

Basic Functionality Test

podman run --rm simple-cli:latest /usr/local/bin/verify-tools

Concept Demonstration

podman run --rm simple-cli:latest bash -c "apt-ostree list | head -5"
podman run --rm simple-cli:latest bash -c "bootupctl status"
podman run --rm simple-clI:latest bash -c "bootc --help"

Development

Project Structure

simple-cli/
├── Containerfile          # Container definition
├── justfile              # Build automation
├── tools/                # Integrated .deb packages
├── demo-concepts.sh      # Concept demonstration
├── README.md             # This file
└── output/               # Generated outputs

Build Recipes

  • just build-with-tools-ssh - Build with SSH and tools
  • just test - Test the built container
  • just clean - Clean build artifacts

Integration Status

What's Working

  • All three Particle-OS tools integrated
  • Tools can communicate and work together
  • OSTree foundation fully functional
  • SSH server configured and ready
  • Clean architecture proven

What's Next

  • 🚧 Bootable image creation (technical challenges)
  • 🚧 QEMU testing and validation
  • 🚧 End-to-end atomic update workflow
  • 🚧 Production deployment

Troubleshooting

Common Issues

  1. Container registry issues: Use full image IDs instead of short names
  2. Permission issues: Run with --privileged flag when needed
  3. Storage access: Mount volumes explicitly for file access

Debug Commands

# Check tool availability
podman run --rm simple-cli:latest which bootc

# Verify OSTree status
podman run --rm simple-cli:latest ostree --version

# Test package management
podman run --rm simple-cli:latest apt-ostree list | head -10

Contributing

This project demonstrates the core Particle-OS concepts. To contribute:

  1. Test the integration with different tool combinations
  2. Improve the demonstration scripts
  3. Add new testing scenarios
  4. Document any discovered issues or solutions

License

Part of the Particle-OS project - Debian-based immutable operating system.