- Add mock-specific build artifacts (chroot/, mock-*, mockroot/) - Include package build files (*.deb, *.changes, *.buildinfo) - Add development tools (.coverage, .pytest_cache, .tox) - Include system files (.DS_Store, Thumbs.db, ._*) - Add temporary and backup files (*.tmp, *.bak, *.backup) - Include local configuration overrides (config.local.yaml, .env.local) - Add test artifacts and documentation builds - Comprehensive coverage for Python build system project This ensures build artifacts, chroot environments, and development tools are properly ignored in version control.
117 lines
2.7 KiB
YAML
117 lines
2.7 KiB
YAML
# deb-mock configuration file
|
|
# Debian's equivalent to Fedora's Mock build environment manager
|
|
|
|
# Global configuration
|
|
global:
|
|
basedir: "/var/lib/deb-mock"
|
|
rootdir: "/var/lib/deb-mock/chroots"
|
|
resultdir: "/var/lib/deb-mock/results"
|
|
cache_dir: "/var/cache/deb-mock"
|
|
log_dir: "/var/log/deb-mock"
|
|
|
|
# Default chroot configuration
|
|
defaults:
|
|
distribution: "bookworm"
|
|
architecture: "amd64"
|
|
mirror: "http://deb.debian.org/debian"
|
|
security_mirror: "http://deb.debian.org/debian-security"
|
|
updates_mirror: "http://deb.debian.org/debian"
|
|
|
|
# Package installation
|
|
install_packages:
|
|
- "build-essential"
|
|
- "fakeroot"
|
|
- "devscripts"
|
|
- "debhelper"
|
|
- "dh-make"
|
|
- "sbuild"
|
|
- "schroot"
|
|
|
|
# Build dependencies
|
|
build_dependencies:
|
|
- "build-essential"
|
|
- "fakeroot"
|
|
- "devscripts"
|
|
- "debhelper"
|
|
- "dh-make"
|
|
|
|
# Chroot profiles
|
|
profiles:
|
|
bookworm-amd64:
|
|
distribution: "bookworm"
|
|
architecture: "amd64"
|
|
mirror: "http://deb.debian.org/debian"
|
|
security_mirror: "http://deb.debian.org/debian-security"
|
|
updates_mirror: "http://deb.debian.org/debian"
|
|
components: ["main", "contrib", "non-free"]
|
|
|
|
bookworm-arm64:
|
|
distribution: "bookworm"
|
|
architecture: "arm64"
|
|
mirror: "http://deb.debian.org/debian"
|
|
security_mirror: "http://deb.debian.org/debian-security"
|
|
updates_mirror: "http://deb.debian.org/debian"
|
|
components: ["main", "contrib", "non-free"]
|
|
|
|
sid-amd64:
|
|
distribution: "sid"
|
|
architecture: "amd64"
|
|
mirror: "http://deb.debian.org/debian"
|
|
components: ["main", "contrib", "non-free"]
|
|
|
|
# Plugin configuration
|
|
plugins:
|
|
mount:
|
|
enabled: true
|
|
mount_points:
|
|
- source: "/proc"
|
|
target: "/proc"
|
|
type: "proc"
|
|
- source: "/sys"
|
|
target: "/sys"
|
|
type: "sysfs"
|
|
- source: "/dev"
|
|
target: "/dev"
|
|
type: "bind"
|
|
|
|
cache:
|
|
enabled: true
|
|
root_cache: true
|
|
package_cache: true
|
|
build_cache: true
|
|
|
|
security:
|
|
enabled: true
|
|
user_isolation: true
|
|
network_isolation: true
|
|
resource_limits: true
|
|
|
|
# Integration settings
|
|
integration:
|
|
deb_orchestrator_url: "http://localhost:8080"
|
|
deb_compose_url: "http://localhost:8080"
|
|
|
|
# Build tools
|
|
sbuild_path: "/usr/bin/sbuild"
|
|
schroot_path: "/usr/bin/schroot"
|
|
debootstrap_path: "/usr/sbin/debootstrap"
|
|
|
|
# Package managers
|
|
apt_path: "/usr/bin/apt"
|
|
dpkg_path: "/usr/bin/dpkg"
|
|
|
|
# Logging configuration
|
|
logging:
|
|
level: "INFO"
|
|
format: "text"
|
|
file: "/var/log/deb-mock/deb-mock.log"
|
|
max_size: "100MB"
|
|
max_files: 5
|
|
|
|
# Performance settings
|
|
performance:
|
|
parallel_downloads: 4
|
|
max_retries: 3
|
|
timeout: 3600
|
|
memory_limit: "2G"
|
|
disk_limit: "10G"
|