From c2a8a5d80d120ca516b7e10c1c9d5b346b19cc43 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Tue, 30 Apr 2024 02:18:59 +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 533b522..3cc580d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -12,7 +12,7 @@ pkgbase = box64-sd8g2-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 4dee528..4733041 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')