From c992e8313af7ce5625fd8da7913816527348e002 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Sun, 19 May 2024 18:00:28 +0800 Subject: [PATCH] migrate to gitea --- .SRCINFO | 6 +++--- Jenkinsfile | 45 --------------------------------------------- PKGBUILD | 6 +++--- 3 files changed, 6 insertions(+), 51 deletions(-) delete mode 100644 Jenkinsfile diff --git a/.SRCINFO b/.SRCINFO index 75e98b3..4f69c46 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = qmic pkgdesc = QMI IDL compiler pkgver = 1.0.r0.g4574736 - pkgrel = 1 - url = https://github.com/andersson/qmic + pkgrel = 2 + url = https://github.com/linux-msm/qmic arch = aarch64 license = BSD makedepends = git depends = glibc - source = git+https://github.com/andersson/qmic + source = git+https://gitea.classfun.cn:4443/mirrors/qmic.git md5sums = SKIP pkgname = qmic diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 2b2bb98..0000000 --- a/Jenkinsfile +++ /dev/null @@ -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 - } - } - } -} diff --git a/PKGBUILD b/PKGBUILD index f382aaa..d04e9e3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,14 +3,14 @@ pkgname=qmic pkgver=1.0.r0.g4574736 -pkgrel=1 +pkgrel=2 pkgdesc="QMI IDL compiler" arch=("aarch64") -url="https://github.com/andersson/qmic" +url="https://github.com/linux-msm/qmic" license=(BSD) makedepends=(git) depends=(glibc) -source=("git+https://github.com/andersson/qmic") +source=("git+https://gitea.classfun.cn:4443/mirrors/qmic.git") md5sums=('SKIP') pkgver() {