apt-ostree/tests/test-treefile.yaml

57 lines
No EOL
1.2 KiB
YAML

# Test treefile for apt-ostree compose tree
# This defines a minimal Ubuntu system with apt-ostree
# OSTree repository configuration
ostree:
ref: apt-ostree/test/ubuntu/22.04
repo: /tmp/apt-ostree-test/repo
# Base system (required)
base: ubuntu:22.04
# APT package sources
apt:
sources:
- "deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse"
- "deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse"
- "deb http://archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse"
# Packages to install
packages:
# Base system packages
- ubuntu-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/ubuntu/22.04"