Compare commits

...

20 commits

Author SHA1 Message Date
241d00e2d2 Trying to fix the workflow
All checks were successful
Build and Deploy ISO / build_iso (release) Successful in 23m54s
2025-02-16 23:38:38 +03:30
b5aac1d777 Trying to fix the workflow
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 21m37s
2025-02-16 23:00:35 +03:30
a7ba10f01f Update .forgejo/workflows/build.yaml
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 16m55s
2025-02-16 09:58:10 -05:00
74e4abfbea trying to fix
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 23m29s
added " "
2025-02-13 13:09:13 -05:00
107e43139c fixed env
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 35m45s
2025-02-13 19:43:17 +03:30
fd5fba6be5 ReTry
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 27m22s
2025-02-13 19:10:01 +03:30
8cf386b53e ReTry
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 33m0s
2025-02-13 18:29:08 +03:30
a480a113f9 ReTry
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 31m16s
2025-02-13 17:53:40 +03:30
e20e0c3a89 Update iso/packages.x86_64
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 12m6s
Build and Deploy ISO / deploy_iso (release) Has been skipped
2025-02-12 21:16:05 -05:00
eaf37afc97 Update iso/packages.x86_64
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 34s
Build and Deploy ISO / deploy_iso (release) Has been skipped
2025-02-12 21:09:02 -05:00
f5fcba5b8e Update .forgejo/workflows/build.yaml
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 39s
Build and Deploy ISO / deploy_iso (release) Has been skipped
2025-02-12 20:19:22 -05:00
sohrab
084bc42c9e Update .forgejo/workflows/build.yaml
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 33s
Build and Deploy ISO / deploy_iso (release) Has been skipped
2025-02-12 20:00:12 -05:00
sohrab
7e297d77dd Update .forgejo/workflows/build.yaml
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 34s
Build and Deploy ISO / deploy_iso (release) Has been skipped
2025-02-12 19:50:42 -05:00
sohrab
3b123c8d55 Update .forgejo/workflows/build.yaml
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 21s
Build and Deploy ISO / deploy_iso (release) Has been skipped
2025-02-12 19:49:03 -05:00
Sohrab Behdani
f569ac8a04 test 2025-02-12 19:47:45 -05:00
sohrab
1816897f25 Update .forgejo/workflows/build.yaml
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 4s
Build and Deploy ISO / deploy_iso (release) Has been skipped
2025-02-12 19:45:48 -05:00
sohrab
7b1f0814d2 Update .forgejo/workflows/build.yaml 2025-02-12 19:43:09 -05:00
50249bf5a5 Update .forgejo/workflows/build.yaml
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 3s
Build and Deploy ISO / deploy_iso (release) Has been skipped
2025-02-12 19:06:55 -05:00
898f8778e9 trying ubuntu latest
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 4s
Build and Deploy ISO / deploy_iso (release) Has been skipped
2025-02-12 14:34:26 +03:30
5f7ff3484d added options: --privileged
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 1m40s
Build and Deploy ISO / deploy_iso (release) Has been skipped
2025-02-12 14:19:18 +03:30
2 changed files with 13 additions and 36 deletions

View file

@ -5,53 +5,31 @@ on:
jobs:
build_iso:
runs-on: docker
runs-on: ubuntu-latest
container:
image: archlinux/archlinux:base-devel
options: --privileged
privileged: true
env:
Desktop: "template"
steps:
- name: Install Node.js
run: pacman -Sy --noconfirm nodejs npm git
run: pacman -Sy --noconfirm nodejs npm git sudo
- name: Checkout code
uses: actions/checkout@v4
- name: Update system
run: pacman -Syyuu --noconfirm
- name: Check user
run: whoami
- name: Build ISO
run: |
./build.sh
sudo ./build.sh
echo "Renaming the output ISO file"
mv out/*.iso out/ParchLinux-${{ env.Desktop }}-latest.iso
echo "Generating MD5 checksum"
md5sum out/ParchLinux-${{ env.Desktop }}-latest.iso > out/md5sum.txt
echo "Build completed. Files generated:"
ls -lh out/
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: iso-artifacts
path: |
out/ParchLinux-${{ env.Desktop }}-latest.iso
out/md5sum.txt
deploy_iso:
runs-on: docker
needs: [build_iso]
container:
image: archlinux/archlinux:base-devel
options: --privileged
env:
Desktop: "template"
SSH_HOST: ${{ secrets.SSHHOST }}
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: iso-artifacts
path: out/
- name: Setup dependencies
run: pacman -Syu --noconfirm sshpass rsync
@ -65,7 +43,8 @@ jobs:
- name: Deploy files
env:
SSHPASS: ${{ secrets.SSHPASS }}
PASS: ${{ secrets.PASS }}
HOST: ${{ secrets.HOST }}
run: |
sshpass -e ssh -o StrictHostKeyChecking=no parch@${{ env.SSH_HOST }} "rm -rf ${{ env.REMOTE_DIR }} && mkdir -p ${{ env.REMOTE_DIR }}"
sshpass -e rsync -avz out/ParchLinux-${{ env.Desktop }}-latest.iso out/md5sum.txt parch@${{ env.SSH_HOST }}:${{ env.REMOTE_DIR }}
sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$HOST "rm -rf $REMOTE_DIR && mkdir -p $REMOTE_DIR"
sshpass -p "$PASS" rsync -avz out/ParchLinux-${{ env.Desktop }}-latest.iso out/md5sum.txt parch@$HOST:$REMOTE_DIR

View file

@ -31,7 +31,6 @@ f2fs-tools
fatresize
fsarchiver
git
gnu-netcat
gpart
gpm
gptfdisk
@ -94,7 +93,6 @@ python-psutil
python-systemd
refind
#reflector
reiserfsprogs
rp-pppoe
rsync
rxvt-unicode-terminfo