ci: build ISO from generated desktop dish via make all

- both ISO workflows run the new single 'make all' pipeline (they
  previously referenced the removed recipe-generator/ directory and
  nonexistent live kickstarts) and build from the generated
  desktop_43_standard_grub_gnome_guest-agents dish
- README: document the data-driven cooking pipeline (manifest +
  templates + make all), generated build products, and updated
  deploy/dish examples
This commit is contained in:
Lukas Greve
2026-08-30 12:09:52 +02:00
parent 73dd52e04e
commit c7142ac43a
3 changed files with 68 additions and 128 deletions
+12 -14
View File
@@ -21,17 +21,10 @@ jobs:
run: |
pip install PyYAML pykickstart
- name: Generate all recipes
- name: Generate, lint, and validate dishes
run: |
cd recipe-generator
python3 generate_recipe.py \
--manifest recipes_manifest.yaml \
--output-dir ../recipes/
- name: Validate recipes (strict mode)
run: |
cd recipe-generator
python3 generate_recipe.py --validate ../recipes/*.cfg --strict
cd cook
make all
build-iso:
needs: validate
@@ -52,22 +45,27 @@ jobs:
run: |
mock -r fedora-43-x86_64 --install lorax-lmc-novirt vim-minimal pykickstart livecd-tools
- name: Generate dishes
run: |
cd cook
make all
- name: Copy configuration file to mock
run: |
mock -r fedora-43-x86_64 --copyin recipes/live-server_rawhide.cfg /builddir
mock -r fedora-43-x86_64 --copyin dishes/desktop_43_standard_grub_gnome_guest-agents.cfg /builddir
- name: Build ISO with livemedia-creator
run: |
mock -r fedora-43-x86_64 --shell --enable-network --isolation=simple << 'EOF'
cd /builddir
livemedia-creator --ks live-server_rawhide.cfg --no-virt --resultdir /var/lmc --project live-server --make-iso --volid live-server --iso-only --iso-name server-43.iso --releasever 43 --macboot
livemedia-creator --ks desktop_43_standard_grub_gnome_guest-agents.cfg --no-virt --resultdir /var/lmc --project phyllomeos --make-iso --volid phyllomeos --iso-only --iso-name desktop-43.iso --releasever 43 --macboot
EOF
- name: Upload ISO as artifact
uses: actions/upload-artifact@v3
with:
name: server-43.iso
path: /var/lmc/server-43.iso
name: desktop-43.iso
path: /var/lmc/desktop-43.iso
if-no-files-found: error
- name: Cleanup mock environment
+6 -1
View File
@@ -7,7 +7,7 @@ on:
env:
FEDORA_VERSION: 43
KICKSTART_FILE: live-desktop-hypervisor
KICKSTART_FILE: desktop_43_standard_grub_gnome_guest-agents
jobs:
checkout:
@@ -29,6 +29,11 @@ jobs:
run: |
mock -r fedora-${{ env.FEDORA_VERSION }}-x86_64 --install lorax-lmc-novirt vim-minimal pykickstart livecd-tools
- name: Generate dishes
run: |
cd cook
make all
- name: Copy configuration file to mock
run: |
mock -r fedora-${{ env.FEDORA_VERSION }}-x86_64 --copyin dishes/${{ env.KICKSTART_FILE }} /builddir