Repository navigation
v0.2.1
holos v0.2.1
Single-host KVM stacks via a docker-compose-style YAML.
Install
Pick the archive for your platform from the Assets below, untar,
and put holos on your PATH:
curl -L https://github.com/zeroecco/holos/releases/download/v0.2.1/holos_0.2.1_Linux_x86_64.tar.gz \
| sudo tar -xz -C /usr/local/bin holos
holos versionLinux requires /dev/kvm and qemu-system-x86_64 at runtime.
macOS builds are intended for the offline subcommands
(validate, import, images).
Changelog
Other changes
- 85e780a: Enhance validation for service replicas and host port allocation in compose files. Introduce checks to prevent overflow of host ports across replicas and enforce limits on total project instances based on subnet capacity. Update comments for clarity on network address constraints. (@zeroecco)
- 2b466c3: Enhance validation for system user names in unit specifications. Introduce a regex pattern to enforce POSIX-compliant usernames, preventing injection attacks in systemd unit files. Update tests to cover various invalid username scenarios, ensuring robust error handling for user input. (@zeroecco)
- e506d45: Enhance validation in compose file handling. Add tests to ensure strict validation of manifest fields, including memory and replicas limits, and enforce error handling for unknown YAML fields. Update directory permissions for sensitive data to improve security across various components. (@zeroecco)
- 7460867: Enhance validation in unit specification for compose files. Introduce checks to reject unsafe path characters in ComposeFile, HolosBinary, and StateDir fields to prevent issues with systemd unit parsing. Update tests to cover various invalid path scenarios, ensuring robust error handling for user input. (@zeroecco)
- 17c102a: Implement body idle timeout handling in download function to prevent hangs during HTTP transfers. Introduce idleTimeoutReader to monitor response body and cancel requests if no bytes are received within a specified timeout. Enhance tests to validate behavior under stalled download scenarios and ensure robust error reporting for timeout conditions. (@zeroecco)
- 776499a: Implement strict validation for volume mount modes in parseVolume function. Reject unknown modes to prevent silent fallbacks to writable mounts, enhancing error reporting for user input. Add tests to cover various invalid mode scenarios and ensure correct handling of explicit read-write configurations. (@zeroecco)
- 4ac724e: Implement validation for project names to prevent path traversal and unsafe characters in CLI commands. Enhance error handling in the Dockerfile parser to reject multi-source COPY commands, ensuring users are alerted to potential issues. Update tests to cover these new validations and ensure robust error reporting for invalid inputs. (@zeroecco)
- 9ab7cdc: Implement volume mount handling in cloud-init to support read-only and read-write configurations. Add tests for volume mount commands to ensure correct fstab options and mkfs behavior based on volume state. Enhance service reconciliation to preserve instance records during failed Up operations, preventing orphaned QEMU processes. (@zeroecco)
- d4ff96d: Refactor SSH key handling in project Up method to prevent mutation of input Project struct. Introduce augmentServicesWithExecKey function to safely append public keys to service manifests without altering the original data. Enhance error handling in download function to ensure proper cleanup on writeback errors, and add tests to validate behavior under failure conditions. (@zeroecco)
- 918afc8: Refactor download function to ensure concurrent-safe temporary file handling by introducing random suffixes for partial files. Enhance checksum verification tests to validate cleanup of leftover temporary files after download failures. Add tests for concurrent downloads to prevent file corruption and ensure proper isolation of download processes. (@zeroecco)
- 895cd2c: Update install_test.go to enforce correct placement of --state-dir in unit rendering. Enhance comments for clarity on state directory handling during command execution. (@zeroecco)
- 0b60c6d: add logo (@zeroecco)
- d67cd88: drop the header since we have a logo (@zeroecco)
Full Changelog: v0.2.0...v0.2.1