Add recipe generator for automation and DRY recipes
- create generate_recipe.py: CLI tool for generating recipes from templates - add recipe_templates.yaml: 5 base templates (virtual-desktop, virtual-server, desktop-hypervisor, live-desktop, live-server) - add recipes_manifest.yaml: 16 recipe variants defined declaratively - add Makefile: automation targets for generate, validate, test - add requirements.txt: PyYAML dependency - add tests/test_recipe_generator.py: 25 pytest tests This enables: - Template-based recipe generation with minimal duplication - One-line variant addition via YAML manifest editing - Automatic duplicate include prevention - Ingredient path validation Generated recipes are committed for reproducibility as per project conventions.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# A recipe for a desktop hypervisor
|
||||
|
||||
%include ../ingredients/core.cfg
|
||||
%include ../ingredients/core-storage.cfg
|
||||
%include ../ingredients/core-bootloader-grub.cfg
|
||||
%include ../ingredients/core-locale.cfg
|
||||
%include ../ingredients/core-services.cfg
|
||||
%include ../ingredients/core-network.cfg
|
||||
%include ../ingredients/core-packages.cfg
|
||||
%include ../ingredients/core-packages-hardware-support.cfg
|
||||
%include ../ingredients/core-initial-setup-gnome-desktop.cfg
|
||||
%include ../ingredients/base-desktop-gnome.cfg
|
||||
%include ../ingredients/base-desktop-virtual-machine-manager.cfg
|
||||
%include ../ingredients/core-fedora-repo-rawhide.cfg
|
||||
%include ../ingredients/core-security-on.cfg
|
||||
%include ../ingredients/base-hypervisor-amdcpu.cfg
|
||||
Reference in New Issue
Block a user