From 18f6906f04b9e7c16f780389844a1cd5d0440632 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Tue, 30 Apr 2024 02:28:11 +0800 Subject: [PATCH] migrate to gitea --- .SRCINFO | 5 +++-- Jenkinsfile | 45 --------------------------------------------- PKGBUILD | 4 ++-- 3 files changed, 5 insertions(+), 49 deletions(-) delete mode 100644 Jenkinsfile diff --git a/.SRCINFO b/.SRCINFO index 258d37a..62e69e7 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -2,11 +2,12 @@ pkgbase = pil-squasher pkgdesc = Convert split mdt + b%02d files into mbn file pkgver = r9.8ac2d5c pkgrel = 1 - url = https://github.com/andersson/pil-squasher + url = https://gitea.classfun.cn:4443/mirrors/pil-squasher arch = aarch64 + arch = x86_64 license = BSD depends = glibc - source = git+https://github.com/andersson/pil-squasher + source = git+https://gitea.classfun.cn:4443/mirrors/pil-squasher sha256sums = SKIP pkgname = pil-squasher diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 0145213..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,45 +0,0 @@ -pipeline { - agent { - label 'aarch64 && archlinux' - } - stages { - stage('Download Config') { - steps { - dir('jenkins-utils') { - git 'https://gitea.classfun.cn:4443/ci/jenkins-utils' - } - } - } - stage('Cleanup packages') { - steps { - sh 'rm -f *.pkg.tar.*' - } - } - stage('Build') { - steps { - sh 'makepkg --config jenkins-utils/makepkg-aarch64.conf --syncdeps --force --noconfirm' - } - } - stage('Signature packages') { - steps { - withCredentials([ - file(credentialsId: 'ci-gpg-file', variable: 'GPG_FILE'), - string(credentialsId: 'ci-gpg-secret', variable: 'GPG_SECRET') - ]) { - sh 'python3 jenkins-utils/sign-pkg.py -d . -k "$GPG_FILE" -p "$GPG_SECRET"' - } - } - } - stage('Upload packages') { - steps { - sh 'sudo pacman -Syy' - sh 'python3 jenkins-utils/upload-pkg.py -d . -a aarch64' - } - } - stage('Archive') { - steps { - archiveArtifacts artifacts: '*.pkg.tar.*', fingerprint: true - } - } - } -} diff --git a/PKGBUILD b/PKGBUILD index 575125b..0475249 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,8 +5,8 @@ pkgname=pil-squasher pkgver=r9.8ac2d5c pkgrel=1 pkgdesc="Convert split mdt + b%02d files into mbn file" -arch=("aarch64") -url="https://github.com/andersson/pil-squasher" +arch=("aarch64" "x86_64") +url="https://gitea.classfun.cn:4443/mirrors/pil-squasher" depends=(glibc) license=('BSD') source=("git+${url}")