From 4a089ad133fabf954bdaca5051257b6b53bd57db Mon Sep 17 00:00:00 2001 From: MrPiglr <31398225+MrPiglr@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:45:26 +0000 Subject: [PATCH] CI: prioritize GitLab; Actions now manual-only; add grub-common to GitLab deps --- .github/workflows/build-iso.yml | 3 --- .gitlab-ci.yml | 34 +++++++++++++++++---------------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build-iso.yml b/.github/workflows/build-iso.yml index 6cf5219..ffee06b 100644 --- a/.github/workflows/build-iso.yml +++ b/.github/workflows/build-iso.yml @@ -1,9 +1,6 @@ name: Build AeThex Linux ISO on: - push: - branches: - - main workflow_dispatch: inputs: release: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 15abe6d..ea16df7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ build_iso: timeout: 90 minutes only: - main + - tags artifacts: paths: - aethex-linux-build/ @@ -15,21 +16,22 @@ build_iso: script: # Update system - apt-get update -qq - - apt-get install -y -qq - build-essential - curl - wget - git - nodejs - npm - debootstrap - squashfs-tools - xorriso - grub-pc-bin - grub-efi-amd64-bin - mtools - dosfstools - isolinux + - apt-get install -y -qq \ + build-essential \ + curl \ + wget \ + git \ + nodejs \ + npm \ + debootstrap \ + squashfs-tools \ + xorriso \ + grub-common \ + grub-pc-bin \ + grub-efi-amd64-bin \ + mtools \ + dosfstools \ + isolinux \ syslinux-common # Install Node dependencies @@ -44,7 +46,7 @@ build_iso: # Verify ISO exists - | - if [ -f aethex-linux-build/AeThex-Linux-*.iso ]; then + if ls aethex-linux-build/AeThex-Linux-*.iso 1> /dev/null 2>&1; then echo "✅ ISO built successfully" ls -lh aethex-linux-build/AeThex-Linux-*.iso sha256sum aethex-linux-build/AeThex-Linux-*.iso > aethex-linux-build/SHA256