From 2bc6c36cdaabdc831194ace52a5f9c5cd8435a1c Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Tue, 30 Apr 2024 02:46:48 +0800 Subject: [PATCH] migrate to gitea --- .SRCINFO | 4 ++-- Jenkinsfile | 44 -------------------------------------------- PKGBUILD | 4 ++-- 3 files changed, 4 insertions(+), 48 deletions(-) delete mode 100644 Jenkinsfile diff --git a/.SRCINFO b/.SRCINFO index 4b74034..297e837 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = qca-swiss-army-knife pkgdesc = Qualcomm Atheros swiss army knife pkgver = r274.e9a0327 - pkgrel = 1 + pkgrel = 2 url = https://github.com/qca/qca-swiss-army-knife arch = aarch64 arch = armv7 @@ -14,7 +14,7 @@ pkgbase = qca-swiss-army-knife depends = libpciaccess optdepends = python optdepends = perl - source = git+https://github.com/qca/qca-swiss-army-knife + source = git+https://gitea.classfun.cn:4443/mirrors/qca-swiss-army-knife.git md5sums = SKIP pkgname = qca-swiss-army-knife diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 2644962..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 --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 58efe13..1bba232 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname="qca-swiss-army-knife" pkgdesc="Qualcomm Atheros swiss army knife" pkgver=r274.e9a0327 -pkgrel=1 +pkgrel=2 arch=("aarch64" "armv7" "x86_64") url="https://github.com/qca/qca-swiss-army-knife" license=("custom") @@ -12,7 +12,7 @@ groups=("qcom-icnss-wlan") depends=("libpciaccess") optdepends=("python" "perl") makedepends=("git" "make" "gcc") -source=("git+$url") +source=("git+https://gitea.classfun.cn:4443/mirrors/qca-swiss-army-knife.git") md5sums=('SKIP') pkgver() {