From 468a635eb0e095577911307616b878919c5e0015 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Sat, 27 Apr 2024 02:08:10 +0800 Subject: [PATCH] migrate to gitea --- .SRCINFO | 2 +- Jenkinsfile | 45 --------------------------------------------- PKGBUILD | 2 +- 3 files changed, 2 insertions(+), 47 deletions(-) delete mode 100644 Jenkinsfile diff --git a/.SRCINFO b/.SRCINFO index a38194b..733c33a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -14,7 +14,7 @@ pkgbase = box64-git depends = gcc-libs provides = box64 conflicts = box64 - source = git+https://github.com/ptitSeb/box64.git#branch=main + source = git+https://gitea.classfun.cn:4443/mirrors/box64.git#branch=main source = box64-git.install sha256sums = SKIP sha256sums = 7e94518dbd11121f150a51b64f4c0ec11f844a83f7b15205d28c1de63de699f2 diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index a0a968b..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 'sudo pacman -Syy' - 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 '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 716e7ee..9eed592 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,7 +14,7 @@ depends=('gcc-libs') makedepends=('git' 'cmake' 'python') provides=(box64) conflicts=(box64) -source=("git+https://github.com/ptitSeb/box64.git#branch=main" +source=("git+https://gitea.classfun.cn:4443/mirrors/box64.git#branch=main" "box64-git.install") sha256sums=('SKIP' '7e94518dbd11121f150a51b64f4c0ec11f844a83f7b15205d28c1de63de699f2')