136 lines
3.5 KiB
YAML
136 lines
3.5 KiB
YAML
# Registry Configuration for Debian bootc-image-builder
|
|
# This file provides flexible configuration for different environments
|
|
# and registry settings to avoid hardcoded values.
|
|
|
|
registries:
|
|
# Development registry (git.raines.xyz)
|
|
development:
|
|
base_url: "git.raines.xyz"
|
|
namespace: "debian"
|
|
auth_required: true
|
|
description: "Development registry for testing and development"
|
|
|
|
# Production registries
|
|
production:
|
|
base_url: "docker.io"
|
|
namespace: "debian"
|
|
auth_required: false
|
|
description: "Production registry for stable releases"
|
|
|
|
# Alternative production registry
|
|
quay:
|
|
base_url: "quay.io"
|
|
namespace: "debian-bootc"
|
|
auth_required: false
|
|
description: "Alternative production registry"
|
|
|
|
# Current active registry
|
|
active_registry: "development"
|
|
|
|
# Container naming templates
|
|
# Variables: {registry}, {namespace}, {version}, {tag}
|
|
containers:
|
|
bootc_base: "{registry}/{namespace}/debian-bootc:{version}"
|
|
bootc_builder: "{registry}/{namespace}/bootc-image-builder:{tag}"
|
|
|
|
# Version mappings for Debian
|
|
# Maps human-readable names to actual Debian versions
|
|
# Currently focusing on Debian 13 (Trixie) for development
|
|
versions:
|
|
debian:
|
|
stable: "trixie"
|
|
trixie: "trixie"
|
|
"13": "trixie"
|
|
# Future versions (not implemented yet)
|
|
testing: "forky"
|
|
unstable: "sid"
|
|
# Legacy numeric versions for compatibility
|
|
"12": "bookworm"
|
|
|
|
# Default settings
|
|
defaults:
|
|
# Default Debian version to use
|
|
debian_version: "stable"
|
|
|
|
# Default image types to build (non-Fedora defaults)
|
|
image_types: ["qcow2"]
|
|
|
|
# Default output directory
|
|
output_dir: "./output"
|
|
|
|
# Default filesystem type
|
|
rootfs_type: "ext4"
|
|
|
|
# Default architecture
|
|
architecture: "amd64"
|
|
|
|
# Build settings (using non-Fedora hardcoded values as defaults)
|
|
build:
|
|
# Container size multiplier for disk sizing (from Fedora: containerSizeToDiskSizeMultiplier = 2)
|
|
container_size_multiplier: 2
|
|
|
|
# Default minimum root filesystem size (from Fedora: DEFAULT_SIZE = 10 * GibiByte)
|
|
min_rootfs_size_gb: 10
|
|
|
|
# Default kernel options (from Fedora: "rw", "console=tty0", "console=ttyS0")
|
|
default_kernel_options: ["rw", "console=tty0", "console=ttyS0"]
|
|
|
|
# Enable experimental features
|
|
experimental_features:
|
|
cross_arch: false
|
|
librepo: false
|
|
|
|
# Repository settings for APT
|
|
repositories:
|
|
# Default Debian repositories
|
|
debian:
|
|
main: "http://deb.debian.org/debian"
|
|
security: "http://security.debian.org/debian-security"
|
|
updates: "http://deb.debian.org/debian"
|
|
|
|
# Debian-forge repository for bootc, apt-ostree, and osbuild packages
|
|
debian_forge:
|
|
base_url: "https://git.raines.xyz/api/packages/particle-os/debian"
|
|
components: ["trixie", "main"]
|
|
|
|
# Repository priorities
|
|
priorities:
|
|
main: 500
|
|
security: 1000
|
|
updates: 500
|
|
debian_forge: 400
|
|
|
|
# Cloud upload settings
|
|
cloud:
|
|
aws:
|
|
# Default AWS region
|
|
default_region: "us-east-1"
|
|
|
|
# S3 bucket naming template
|
|
bucket_template: "{project}-{environment}-{region}"
|
|
|
|
# Other cloud providers can be added here
|
|
# gcp: ...
|
|
# azure: ...
|
|
|
|
# Logging configuration
|
|
logging:
|
|
# Default log level (debug, info, warn, error)
|
|
level: "info"
|
|
|
|
# Log format (text, json)
|
|
format: "text"
|
|
|
|
# Enable verbose output by default
|
|
verbose: false
|
|
|
|
# Security settings
|
|
security:
|
|
# Require HTTPS for registry access
|
|
require_https: true
|
|
|
|
# Verify TLS certificates
|
|
verify_tls: true
|
|
|
|
# Allow insecure registries (development only)
|
|
allow_insecure: false
|