Compare commits
35 commits
2024-07-15
...
main
Author | SHA1 | Date | |
---|---|---|---|
ca0d2d0a30 | |||
23b49dc379 | |||
bc01c3c60d | |||
085f89a5d8 | |||
4237588d3a | |||
a776ad4a95 | |||
76f5aa6b6d | |||
a131e380fa | |||
341feaab43 | |||
36fac961c1 | |||
3b8b359356 | |||
7ff8cb4f5c | |||
543e939e02 | |||
7ad4f6b811 | |||
cd81e1ada8 | |||
673fa4c828 | |||
9adc5d14a9 | |||
607eb83050 | |||
07b0d66092 | |||
0f244bceb9 | |||
8559f51d7f | |||
3dde326825 | |||
10579893f9 | |||
04c3084b5e | |||
e8479cd2e1 | |||
94b368a759 | |||
1771a6f5e4 | |||
90d55a8604 | |||
5df46d809f | |||
055cce2cec | |||
c331d57a93 | |||
e301283fb5 | |||
e550c510df | |||
|
79286f1d43 | ||
82d4ad132f |
5 changed files with 71 additions and 23 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: "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
|
11
README.md
11
README.md
|
@ -1,3 +1,10 @@
|
|||
# Parch Linux iso template
|
||||
# Parch Linux Cosmic
|
||||
|
||||
## Use this template for making releases
|
||||
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.
|
||||
|
|
15
build.sh
15
build.sh
|
@ -33,8 +33,7 @@ main() {
|
|||
install
|
||||
echo -e "$Blue### Install complete ###$reset"
|
||||
echo -e "$Green### Start build $reponame with archiso ###$reset"
|
||||
build
|
||||
makezip
|
||||
build
|
||||
fi
|
||||
else
|
||||
echo -e "$Red###OS can't supported###$reset"
|
||||
|
@ -42,19 +41,19 @@ main() {
|
|||
fi
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
set -e
|
||||
pacman -Sy; pacman --noconfirm -S --needed git archiso github-cli p7zip
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
build() {
|
||||
set -e
|
||||
mkarchiso -v iso/
|
||||
}
|
||||
makezip() {
|
||||
cd out
|
||||
7z -v500m a "$(ls *.iso)".zip "$(ls *.iso)"
|
||||
md5sum * > md5sums.txt
|
||||
}
|
||||
|
||||
|
||||
main
|
||||
|
|
|
@ -31,7 +31,6 @@ f2fs-tools
|
|||
fatresize
|
||||
fsarchiver
|
||||
git
|
||||
gnu-netcat
|
||||
gpart
|
||||
gpm
|
||||
gptfdisk
|
||||
|
@ -93,8 +92,6 @@ python
|
|||
python-psutil
|
||||
python-systemd
|
||||
refind
|
||||
#reflector
|
||||
reiserfsprogs
|
||||
rp-pppoe
|
||||
rsync
|
||||
rxvt-unicode-terminfo
|
||||
|
@ -136,18 +133,22 @@ openssl
|
|||
gvfs
|
||||
gvfs-mtp
|
||||
networkmanager
|
||||
android-file-transfer
|
||||
boost
|
||||
sddm
|
||||
|
||||
#Desktop
|
||||
cosmic-epoch-git
|
||||
cosmic
|
||||
|
||||
#Essential Apps
|
||||
nheko
|
||||
firefox
|
||||
|
||||
#systemutils
|
||||
btop
|
||||
xdg-user-dirs
|
||||
neofetch-git
|
||||
fastfetch
|
||||
kernel-install-mkinitcpio
|
||||
|
||||
#ParchLinux Core Packages
|
||||
parch-welcome
|
||||
|
@ -156,6 +157,6 @@ calamares
|
|||
os-prober
|
||||
paru
|
||||
parch-emoji-ios
|
||||
vazirmatn-fonts
|
||||
ttf-vazirmatn
|
||||
parch-branding
|
||||
parch-pacman
|
||||
parch-pacman-systemd
|
||||
|
|
|
@ -38,7 +38,7 @@ CheckSpace
|
|||
|
||||
# By default, pacman accepts packages signed by keys that its local keyring
|
||||
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
||||
SigLevel = Required DatabaseOptional
|
||||
SigLevel = Never
|
||||
LocalFileSigLevel = Optional
|
||||
#RemoteFileSigLevel = Required
|
||||
|
||||
|
@ -74,7 +74,7 @@ LocalFileSigLevel = Optional
|
|||
|
||||
[ppr]
|
||||
SigLevel = Optional TrustedOnly
|
||||
Server = https://raw.githubusercontent.com/parchlinux/ppr/main/x86_64/
|
||||
Server = https://git.parchlinux.com/repo/ppr/-/raw/main/x86_64/
|
||||
|
||||
[core]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
@ -96,11 +96,9 @@ Include = /etc/pacman.d/mirrorlist
|
|||
|
||||
[pcp]
|
||||
SigLevel = Optional TrustedOnly
|
||||
Server = https://raw.githubusercontent.com/parchlinux/pcp/main/x86_64/
|
||||
Server = https://git.parchlinux.com/repo/pcp/-/raw/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]
|
||||
|
|
Loading…
Add table
Reference in a new issue