apt-ostree/tests/test-treefile.yaml
robojerk 3dec23f8f7 Fix YAML linting issues and update system requirements to Debian 13+
- Fix trailing spaces and blank lines in Forgejo workflows
- Update system requirements from Ubuntu Jammy/Bookworm to Debian 13+ (Trixie)
- Update test treefile to use Debian Trixie instead of Ubuntu Jammy
- Update documentation to reflect modern system requirements
- Fix yamllint errors for CI/CD functionality
- Ensure compatibility with modern OSTree and libapt versions
2025-08-18 11:39:58 -07:00

57 lines
1.2 KiB
YAML

# Test treefile for apt-ostree compose tree
# This defines a minimal Debian 13+ system with apt-ostree
# OSTree repository configuration
ostree:
ref: apt-ostree/test/debian/trixie
repo: /tmp/apt-ostree-test/repo
# Base system (required)
base: debian:trixie
# APT package sources
apt:
sources:
- "deb http://deb.debian.org/debian trixie main contrib non-free"
- "deb http://deb.debian.org/debian trixie-updates main contrib non-free"
- "deb http://deb.debian.org/debian trixie-security main contrib non-free"
# Packages to install
packages:
# Base system packages
- debian-minimal
- systemd
- ostree
- apt
- dpkg
# Essential utilities
- bash
- coreutils
- curl
- wget
- gnupg
- ca-certificates
# For testing purposes
- vim
- htop
- tree
# System configuration
system:
# Enable systemd services
services:
- systemd-networkd
- systemd-resolved
# Create basic directory structure
directories:
- /etc/apt-ostree
- /var/lib/apt-ostree
- /usr/lib/bootc
# Post-installation scripts (optional)
postinstall:
- echo "apt-ostree test system created successfully"
- echo "OSTree ref: apt-ostree/test/debian/trixie"