migrate to gitea

This commit is contained in:
BigfootACA 2024-04-30 02:18:59 +08:00
parent 624e1d5cf2
commit c2a8a5d80d
3 changed files with 2 additions and 47 deletions

View File

@ -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

45
Jenkinsfile vendored
View File

@ -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
}
}
}
}

View File

@ -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')