migrate to gitea
This commit is contained in:
parent
7ccf10b8eb
commit
468a635eb0
2
.SRCINFO
2
.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
|
||||
|
45
Jenkinsfile
vendored
45
Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
2
PKGBUILD
2
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')
|
||||
|
Loading…
Reference in New Issue
Block a user