migrate to gitea
This commit is contained in:
parent
e0ecfa02d3
commit
406b28531f
9
.SRCINFO
9
.SRCINFO
@ -1,10 +1,11 @@
|
|||||||
pkgbase = xrock-git
|
pkgbase = xrock
|
||||||
pkgdesc = The low level tools for rockchip SOC with maskrom and loader mode support.
|
pkgdesc = The low level tools for rockchip SOC with maskrom and loader mode support.
|
||||||
pkgver = 1.0.4.r5.gbb62b28
|
pkgver = 1.0.4.r5.gbb62b28
|
||||||
pkgrel = 11
|
pkgrel = 11
|
||||||
url = https://github.com/xboot/xrock
|
url = https://gitea.classfun.cn:4443/mirrors/xrock
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = aarch64
|
arch = aarch64
|
||||||
|
arch = armv7
|
||||||
arch = riscv64
|
arch = riscv64
|
||||||
license = MIT
|
license = MIT
|
||||||
makedepends = git
|
makedepends = git
|
||||||
@ -12,7 +13,7 @@ pkgbase = xrock-git
|
|||||||
depends = libusb
|
depends = libusb
|
||||||
provides = xrock
|
provides = xrock
|
||||||
conflicts = 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
|
sha256sums = SKIP
|
||||||
|
|
||||||
pkgname = xrock-git
|
pkgname = xrock
|
||||||
|
44
Jenkinsfile
vendored
44
Jenkinsfile
vendored
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
2
PKGBUILD
2
PKGBUILD
@ -7,7 +7,7 @@ pkgrel=11
|
|||||||
epoch=
|
epoch=
|
||||||
pkgdesc="The low level tools for rockchip SOC with maskrom and loader mode support."
|
pkgdesc="The low level tools for rockchip SOC with maskrom and loader mode support."
|
||||||
arch=(x86_64 aarch64 armv7 riscv64)
|
arch=(x86_64 aarch64 armv7 riscv64)
|
||||||
url="https://github.com/xboot/xrock"
|
url="https://gitea.classfun.cn:4443/mirrors/xrock"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('libusb')
|
depends=('libusb')
|
||||||
makedepends=('git' 'gcc')
|
makedepends=('git' 'gcc')
|
||||||
|
Loading…
Reference in New Issue
Block a user