From e1972430380ca701f85604d492d2358cd789f966 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Sun, 19 May 2024 18:02:18 +0800 Subject: [PATCH] migrate to gitea --- .SRCINFO | 4 ++-- Jenkinsfile | 45 --------------------------------------------- PKGBUILD | 6 +++--- 3 files changed, 5 insertions(+), 50 deletions(-) delete mode 100644 Jenkinsfile diff --git a/.SRCINFO b/.SRCINFO index 96fe671..73cdfea 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tqftpserv pkgdesc = Trivial File Transfer Protocol server over AF_QIPCRTR pkgver = r12.783425b - pkgrel = 1 + pkgrel = 2 url = https://github.com/linux-msm/tqftpserv arch = aarch64 groups = qcom-icnss-wlan @@ -10,7 +10,7 @@ pkgbase = tqftpserv makedepends = make makedepends = gcc depends = qrtr - source = git+https://github.com/linux-msm/tqftpserv + source = git+https://gitea.classfun.cn:4443/mirrors/tqftpserv.git md5sums = SKIP pkgname = tqftpserv 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 df4f1ea..616ef36 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,14 +4,14 @@ pkgname="tqftpserv" pkgdesc="Trivial File Transfer Protocol server over AF_QIPCRTR" pkgver=r12.783425b -pkgrel=1 +pkgrel=2 arch=("aarch64") -url="https://github.com/andersson/$pkgname" +url="https://github.com/linux-msm/tqftpserv" license=("BSD-3-Clause") groups=("qcom-icnss-wlan") depends=("qrtr") makedepends=("git" "make" "gcc") -source=("git+$url") +source=("git+https://gitea.classfun.cn:4443/mirrors/tqftpserv.git") md5sums=("SKIP") pkgver() {