Added GNOME
This commit is contained in:
parent
4684c7971d
commit
9f5b09cb03
2 changed files with 57 additions and 0 deletions
43
.gitlab-ci.yml
Normal file
43
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
image: archlinux/archlinux:base-devel
|
||||||
|
|
||||||
|
variables:
|
||||||
|
Desktop: "gnome"
|
||||||
|
|
||||||
|
build_iso:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- ./build.sh
|
||||||
|
- echo "Renaming the output ISO file"
|
||||||
|
- mv out/*.iso out/ParchLinux-$Desktop-latest.iso
|
||||||
|
- echo "Generating MD5 checksum"
|
||||||
|
- md5sum out/ParchLinux-$Desktop-latest.iso > out/md5sum.txt
|
||||||
|
- echo "Build completed. Files generated:"
|
||||||
|
- ls -lh out/
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- out/ParchLinux-$Desktop-latest.iso
|
||||||
|
- out/md5sum.txt
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG
|
||||||
|
|
||||||
|
deploy_iso:
|
||||||
|
stage: deploy
|
||||||
|
dependencies:
|
||||||
|
- build_iso
|
||||||
|
script:
|
||||||
|
- echo "Installing sshpass and rsync"
|
||||||
|
- pacman -Syu --noconfirm sshpass rsync
|
||||||
|
- echo "Determining the remote directory based on the tag"
|
||||||
|
- if [[ "$CI_COMMIT_TAG" == *"beta"* ]]; then export REMOTE_DIR="/srv/http/beta/$Desktop/"; else export REMOTE_DIR="/srv/http/$Desktop/"; fi
|
||||||
|
- echo "Removing old ISO files from remote directory"
|
||||||
|
- sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$SSH_ROOT rm -rf "$REMOTE_DIR/"
|
||||||
|
- echo "Creating new directory on remote host"
|
||||||
|
- sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$SSH_ROOT mkdir -p "$REMOTE_DIR/"
|
||||||
|
- echo "Uploading new ISO via rsync"
|
||||||
|
- sshpass -p "$PASS" rsync -r out/ParchLinux-$Desktop-latest.iso out/md5sum.txt parch@$SSH_ROOT:"$REMOTE_DIR/"
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG
|
|
@ -4,6 +4,7 @@ arch-install-scripts
|
||||||
archinstall
|
archinstall
|
||||||
b43-fwcutter
|
b43-fwcutter
|
||||||
base
|
base
|
||||||
|
base-devel
|
||||||
bcachefs-tools
|
bcachefs-tools
|
||||||
bind
|
bind
|
||||||
bolt
|
bolt
|
||||||
|
@ -53,6 +54,7 @@ libfido2
|
||||||
libusb-compat
|
libusb-compat
|
||||||
linux
|
linux
|
||||||
linux-atm
|
linux-atm
|
||||||
|
linux-headers
|
||||||
linux-firmware
|
linux-firmware
|
||||||
linux-firmware-marvell
|
linux-firmware-marvell
|
||||||
livecd-sounds
|
livecd-sounds
|
||||||
|
@ -127,3 +129,15 @@ wvdial
|
||||||
xfsprogs
|
xfsprogs
|
||||||
xl2tpd
|
xl2tpd
|
||||||
zsh
|
zsh
|
||||||
|
|
||||||
|
|
||||||
|
# Packages
|
||||||
|
|
||||||
|
## Desktop
|
||||||
|
|
||||||
|
parch-gnome-meta
|
||||||
|
|
||||||
|
|
||||||
|
## utils
|
||||||
|
paru
|
||||||
|
fastfetch
|
||||||
|
|
Loading…
Add table
Reference in a new issue