From 92b8143743c1d1bb75b6f86d9bc12f0c31d1ab4a Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sat, 10 Apr 2021 17:23:53 -0400 Subject: Build Arch Live ISO with Each Commit The bind mount is probably not necessary --- .github/workflows/iso-build.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/iso-build.yaml (limited to '.github/workflows/iso-build.yaml') diff --git a/.github/workflows/iso-build.yaml b/.github/workflows/iso-build.yaml new file mode 100644 index 00000000..a17331aa --- /dev/null +++ b/.github/workflows/iso-build.yaml @@ -0,0 +1,27 @@ +# This workflow will build an Arch Linux ISO file with the commit on it + +name: Build Arch ISO with ArchInstall Commit + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + container: + image: archlinux:latest + options: --privileged + steps: + - uses: actions/checkout@v2 + - run: pwd + - run: find . + - run: cat /etc/os-release + - run: mkdir -p /tmp/archlive/airootfs/root/archinstall-git; cp -r . /tmp/archlive/airootfs/root/archinstall-git + - run: pacman -Sy; pacman --noconfirm -S git archiso + - run: cp -r /usr/share/archiso/configs/releng/* /tmp/archlive + - run: echo -e "git\npython\npython-pip\npython-setuptools" >> /tmp/archlive/packages.x86_64 + - run: find /tmp/archlive + - run: cd /tmp/archlive; mkarchiso -v -w work/ -o out/ ./ + - uses: actions/upload-artifact@v2 + with: + name: Arch Live ISO + path: /tmp/archlive/out/*.iso -- cgit v1.2.3-70-g09d2 From 0762a7173c17af538e8793129666f42827caf5d4 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sat, 10 Apr 2021 17:59:08 -0400 Subject: Automatically change directory and replace archinstall on boot --- .github/workflows/iso-build.yaml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows/iso-build.yaml') diff --git a/.github/workflows/iso-build.yaml b/.github/workflows/iso-build.yaml index a17331aa..253cee55 100644 --- a/.github/workflows/iso-build.yaml +++ b/.github/workflows/iso-build.yaml @@ -16,6 +16,7 @@ jobs: - run: find . - run: cat /etc/os-release - run: mkdir -p /tmp/archlive/airootfs/root/archinstall-git; cp -r . /tmp/archlive/airootfs/root/archinstall-git + - run: echo "pip uninstall archinstall -y; cd archinstall-git; python setup.py install; echo 'Type python -m archinstall to launch archinstall'" > /tmp/archlive/airootfs/root/.zprofile - run: pacman -Sy; pacman --noconfirm -S git archiso - run: cp -r /usr/share/archiso/configs/releng/* /tmp/archlive - run: echo -e "git\npython\npython-pip\npython-setuptools" >> /tmp/archlive/packages.x86_64 -- cgit v1.2.3-70-g09d2 From 2321a7afce6ae84a0ab1904a5ea5291011534bce Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sun, 11 Apr 2021 14:53:06 -0400 Subject: Update iso-build.yaml --- .github/workflows/iso-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/iso-build.yaml') diff --git a/.github/workflows/iso-build.yaml b/.github/workflows/iso-build.yaml index 253cee55..229a37be 100644 --- a/.github/workflows/iso-build.yaml +++ b/.github/workflows/iso-build.yaml @@ -2,7 +2,7 @@ name: Build Arch ISO with ArchInstall Commit -on: [push, pull_request] +on: pull_request jobs: build: -- cgit v1.2.3-70-g09d2