Compare commits

..

No commits in common. "main" and "1-next-parch-cosmic-iso" have entirely different histories.

5 changed files with 24 additions and 72 deletions

View file

@ -1,43 +0,0 @@
stages:
- build
- deploy
image: archlinux/archlinux:base-devel
variables:
Desktop: "cosmic"
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

View file

@ -1,10 +1,3 @@
# Parch Linux Cosmic
# Parch Linux iso template
Cosmic is a DE made by System76 in Rust and Iced.
Parch Linux Cosmic features Cosmic DE with a Touch of Parch Linux itself.
## Note:
> currently cosmic is in alpha stage and it is not fully finished, use Parch Linux Cosmic only for testing.
## Use this template for making releases

View file

@ -33,7 +33,8 @@ main() {
install
echo -e "$Blue### Install complete ###$reset"
echo -e "$Green### Start build $reponame with archiso ###$reset"
build
build
makezip
fi
else
echo -e "$Red###OS can't supported###$reset"
@ -41,19 +42,19 @@ main() {
fi
}
install() {
set -e
pacman -Sy; pacman --noconfirm -S --needed git wget github-cli p7zip reflector rsync
wget https://git.parchlinux.com/repo/ppr/-/raw/main/x86_64/archiso-99-1-any.pkg.tar.zst
sudo pacman -U archiso-99-1-any.pkg.tar.zst --noconfirm
pacman -Sy; pacman --noconfirm -S --needed git archiso github-cli p7zip
}
build() {
set -e
mkarchiso -v iso/
}
makezip() {
cd out
7z -v500m a "$(ls *.iso)".zip "$(ls *.iso)"
md5sum * > md5sums.txt
}
main

View file

@ -31,6 +31,7 @@ f2fs-tools
fatresize
fsarchiver
git
gnu-netcat
gpart
gpm
gptfdisk
@ -92,6 +93,8 @@ python
python-psutil
python-systemd
refind
#reflector
reiserfsprogs
rp-pppoe
rsync
rxvt-unicode-terminfo
@ -133,30 +136,26 @@ openssl
gvfs
gvfs-mtp
networkmanager
android-file-transfer
boost
sddm
#Desktop
cosmic
#Essential Apps
nheko
firefox
cosmic-session-git
#systemutils
btop
xdg-user-dirs
neofetch-git
fastfetch
kernel-install-mkinitcpio
#ParchLinux Core Packages
parch-welcome
calamares-parch
calamares
calamares-parch-beta
calamares-git
os-prober
paru
parch-emoji-ios
ttf-vazirmatn
vazirmatn-fonts
parch-branding
parch-pacman-systemd
parch-pacman

View file

@ -74,7 +74,7 @@ LocalFileSigLevel = Optional
[ppr]
SigLevel = Optional TrustedOnly
Server = https://git.parchlinux.com/repo/ppr/-/raw/main/x86_64/
Server = https://raw.githubusercontent.com/parchlinux/ppr/main/x86_64/
[core]
Include = /etc/pacman.d/mirrorlist
@ -96,9 +96,11 @@ Include = /etc/pacman.d/mirrorlist
[pcp]
SigLevel = Optional TrustedOnly
Server = https://git.parchlinux.com/repo/pcp/-/raw/main/x86_64/
Server = https://raw.githubusercontent.com/parchlinux/pcp/main/x86_64/
[chaotic-aur]
SigLevel = Never
Server = https://geo-mirror.chaotic.cx/$repo/$arch
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]