Files
phyllomeos/cook/Makefile
T
Lukas GreveandClaude Sonnet 5 67316d9852
build-image / validate (push) Successful in 8s
ci / cook (push) Successful in 10s
build-image / build-image (phyllomeos, 16384) (push) Failing after 1m13s
build-image / build-image (phyllomeos-headless, 8192) (push) Failing after 11m10s
cook: two default dishes (phyllomeos, phyllomeos-headless) + guest/experimental tiers; CI builds raw images
Manifest groups get a tier; only `default` is generated (make all TIER=...,
--tier). Default: phyllomeos (GNOME + virt-manager) and phyllomeos-headless,
Fedora 44, systemd-boot, CPU-agnostic hypervisor ingredient (hypervisor_type:
any). guest tier: guest-server, guest-desktop. experimental: biosboot/grub,
encrypted, rawhide. Generator clears stale recipes/dishes before writing.

build-image.sh: --dish and --tier; deploy.sh: --tier. build-iso.yaml replaced
by build-image.yaml: raw images for both editions on the fedora:host runner
(TMPDIR=/var/tmp, max-parallel 1), attached with the flattened kickstarts to
tagged releases. Live edition no longer built.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 11:35:28 +02:00

57 lines
1.7 KiB
Makefile

.PHONY: help generate lint validate inventory test install-deps clean clean-recipes clean-dishes all
PYTHON ?= python3
# Manifest tier(s) to generate: default, guest, experimental, all (space-separated)
TIER ?= default
TIER_ARGS = $(foreach t,$(TIER),--tier $(t))
default: all
help:
@echo "Phyllome OS Recipe Generator"
@echo ""
@echo "Available targets:"
@echo " all - Generate recipes and dishes, lint, and validate (default)"
@echo " TIER=default|guest|experimental|all picks the manifest tier(s)"
@echo " generate - Same as 'all'"
@echo " lint - Lint manifest and templates without writing files"
@echo " validate - Validate existing dishes without regenerating"
@echo " inventory - Print the ingredient inventory derived from recipe_templates.yaml"
@echo " test - Run the pytest test suite"
@echo " install-deps - Install Python dependencies"
@echo " clean - Remove generated recipes and dishes"
@echo " clean-recipes- Remove generated recipes only"
@echo " clean-dishes - Remove generated dishes only"
all: generate
generate:
@$(PYTHON) generate_recipe.py $(TIER_ARGS)
lint:
@$(PYTHON) generate_recipe.py --no-generate --no-validate
validate:
@$(PYTHON) generate_recipe.py $(TIER_ARGS) --no-generate --no-lint
inventory:
@$(PYTHON) generate_recipe.py --inventory
test:
@$(PYTHON) -m pytest tests
install-deps:
@pip install -r requirements.txt
clean:
@rm -f recipes/*.cfg dishes/*.cfg
@echo "Generated recipes and dishes removed. Run 'make all' to regenerate."
clean-recipes:
@rm -f recipes/*.cfg
@echo "Generated recipes removed. Run 'make generate' to regenerate."
clean-dishes:
@rm -f dishes/*.cfg
@echo "Generated dishes removed. Run 'make generate' to regenerate."