From bb2abe217bb7eec22ab4ea652d6af1be612653b4 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Sat, 21 Aug 2021 20:08:59 +0000 Subject: [PATCH] GitLabCI --- .gitlab-ci.yml | 14 ++++++++++++++ ci.build.sh | 6 ++++++ pacman.conf | 8 ++++++-- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 .gitlab-ci.yml create mode 100755 ci.build.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a2b9e91 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +stages: + - build + - paks + +image: archlinux/archlinux:base-devel + +archiso: + stage: build + script: + - ./ci.build.sh + artifacts: + paths: + - out/*.iso + expire_in: 1 week diff --git a/ci.build.sh b/ci.build.sh new file mode 100755 index 0000000..b26d6e7 --- /dev/null +++ b/ci.build.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +pacman --noconfirm -Syu --needed base-devel archiso mkinitcpio-archiso git squashfs-tools + +sudo ./fix_permissions.sh +sudo ./build.sh -v diff --git a/pacman.conf b/pacman.conf index 9bbf3b1..cc20ec9 100644 --- a/pacman.conf +++ b/pacman.conf @@ -76,10 +76,14 @@ LocalFileSigLevel = Optional #Include = /etc/pacman.d/mirrorlist [cachyos-desktop] -Include = /etc/pacman.d/cachyos-mirrorlist +SigLevel = Optional TrustAll +Server = https://build.cachyos.org/repo/$arch/$repo +#Include = /etc/pacman.d/cachyos-mirrorlist [cachyos] -Include = /etc/pacman.d/cachyos-mirrorlist +SigLevel = Optional TrustAll +Server = https://build.cachyos.org/repo/$arch/$repo +#Include = /etc/pacman.d/cachyos-mirrorlist [core] Include = /etc/pacman.d/mirrorlist