migrate to gitea

This commit is contained in:
BigfootACA 2024-04-30 02:43:07 +08:00
parent 09c33f55a4
commit 79557025ce
3 changed files with 5 additions and 49 deletions

View File

@ -1,7 +1,7 @@
pkgbase = rkdeveloptool
pkgdesc = Development tool for Rockchip SOC
pkgver = 69
pkgrel = 1
pkgver = 70
pkgrel = 2
url = https://github.com/rockchip-linux/rkdeveloptool
arch = x86_64
arch = aarch64

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

@ -2,15 +2,15 @@
# Maintainer: BigfootACA <bigfoot@classfun.cn>
pkgname=rkdeveloptool
pkgver=69
pkgrel=1
pkgver=70
pkgrel=2
pkgdesc='Development tool for Rockchip SOC'
arch=('x86_64' 'aarch64' 'armv7')
url='https://github.com/rockchip-linux/rkdeveloptool'
license=('GPL2')
makedepends=('git')
depends=('libusb')
source=('git+https://github.com/rockchip-linux/rkdeveloptool.git')
source=('git+https://gitea.classfun.cn:4443/mirrors/rkdeveloptool.git')
sha256sums=('SKIP')
pkgver(){