iso.yml: keep only the latest build's files in MinIO
All checks were successful
Image, installer ISO, disk image and live ISO / iso (push) Successful in 21m33s
All checks were successful
Image, installer ISO, disk image and live ISO / iso (push) Successful in 21m33s
Every commit's installer ISO (~7 GB each) was kept, and they filled the forge VM's data disk. Tagged releases keep their own copies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
180fecc73f
commit
f4c57a09a6
1 changed files with 5 additions and 6 deletions
|
|
@ -5,8 +5,8 @@ name: Image, installer ISO, disk image and live ISO
|
||||||
# forge.quinefoundation.com/quine-global-labs/quine-linux (`latest`,
|
# forge.quinefoundation.com/quine-global-labs/quine-linux (`latest`,
|
||||||
# `<date>`, the commit), then builds the installer ISO, a disk image (qcow2)
|
# `<date>`, the commit), then builds the installer ISO, a disk image (qcow2)
|
||||||
# and a live ISO from it and uploads them to MinIO as
|
# and a live ISO from it and uploads them to MinIO as
|
||||||
# <bucket>/installer/<commit>/install.iso, <bucket>/installer/latest/install.iso,
|
# <bucket>/installer/latest/install.iso, <bucket>/disk/latest/disk.qcow2 and
|
||||||
# <bucket>/disk/latest/disk.qcow2 and <bucket>/live/latest/live.iso.
|
# <bucket>/live/latest/live.iso, replacing the last build's.
|
||||||
#
|
#
|
||||||
# Runs on runner-x86-linux (host mode, root podman; petersweb-infra,
|
# Runs on runner-x86-linux (host mode, root podman; petersweb-infra,
|
||||||
# hosts/runner-x86-linux): bootc-image-builder needs an x86_64 host with
|
# hosts/runner-x86-linux): bootc-image-builder needs an x86_64 host with
|
||||||
|
|
@ -151,10 +151,9 @@ jobs:
|
||||||
ls -lh "$iso"
|
ls -lh "$iso"
|
||||||
mc alias set store "$MINIO_ENDPOINT" "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY"
|
mc alias set store "$MINIO_ENDPOINT" "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY"
|
||||||
mc mb --ignore-existing "store/${MINIO_BUCKET}"
|
mc mb --ignore-existing "store/${MINIO_BUCKET}"
|
||||||
dest="store/${MINIO_BUCKET}/installer"
|
# Latest only: each file is 5-8 GB, and the forge VM's disk is
|
||||||
mc cp "$iso" "${dest}/${GITHUB_SHA}/install.iso"
|
# shared. Tagged releases keep their own copies (releases/<tag>/).
|
||||||
mc cp "${dest}/${GITHUB_SHA}/install.iso" "${dest}/latest/install.iso"
|
mc cp "$iso" "store/${MINIO_BUCKET}/installer/latest/install.iso"
|
||||||
# The disk image and live ISO: latest only, they're as big as the ISO.
|
|
||||||
ls -lh output/qcow2/disk.qcow2
|
ls -lh output/qcow2/disk.qcow2
|
||||||
mc cp output/qcow2/disk.qcow2 "store/${MINIO_BUCKET}/disk/latest/disk.qcow2"
|
mc cp output/qcow2/disk.qcow2 "store/${MINIO_BUCKET}/disk/latest/disk.qcow2"
|
||||||
ls -lh output/live/Quine-Linux-Live.iso
|
ls -lh output/live/Quine-Linux-Live.iso
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue