From 79557025ce9545c6d82cdc7d2d1b9843636b1d32 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Tue, 30 Apr 2024 02:43:07 +0800 Subject: [PATCH] migrate to gitea --- .SRCINFO | 4 ++-- Jenkinsfile | 44 -------------------------------------------- PKGBUILD | 6 +++--- 3 files changed, 5 insertions(+), 49 deletions(-) delete mode 100644 Jenkinsfile diff --git a/.SRCINFO b/.SRCINFO index 8716fb4..e88b160 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index b746f9b..0000000 --- a/Jenkinsfile +++ /dev/null @@ -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 - } - } - } -} diff --git a/PKGBUILD b/PKGBUILD index de47382..29d7d16 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,15 +2,15 @@ # Maintainer: BigfootACA 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(){