migrate to gitea

This commit is contained in:
BigfootACA 2024-04-30 02:31:35 +08:00
parent e0ecfa02d3
commit 406b28531f
3 changed files with 6 additions and 49 deletions

View File

@ -1,10 +1,11 @@
pkgbase = xrock-git
pkgbase = xrock
pkgdesc = The low level tools for rockchip SOC with maskrom and loader mode support.
pkgver = 1.0.4.r5.gbb62b28
pkgrel = 11
url = https://github.com/xboot/xrock
url = https://gitea.classfun.cn:4443/mirrors/xrock
arch = x86_64
arch = aarch64
arch = armv7
arch = riscv64
license = MIT
makedepends = git
@ -12,7 +13,7 @@ pkgbase = xrock-git
depends = libusb
provides = xrock
conflicts = xrock
source = xrock::git+https://github.com/xboot/xrock.git
source = xrock::git+https://gitea.classfun.cn:4443/mirrors/xrock.git
sha256sums = SKIP
pkgname = xrock-git
pkgname = xrock

44
Jenkinsfile vendored
View File

@ -1,44 +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 --noconfirm --force'
}
}
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

@ -7,7 +7,7 @@ pkgrel=11
epoch=
pkgdesc="The low level tools for rockchip SOC with maskrom and loader mode support."
arch=(x86_64 aarch64 armv7 riscv64)
url="https://github.com/xboot/xrock"
url="https://gitea.classfun.cn:4443/mirrors/xrock"
license=('MIT')
depends=('libusb')
makedepends=('git' 'gcc')