migrate to gitea

This commit is contained in:
BigfootACA 2024-04-30 02:46:48 +08:00
parent 0f67876ebf
commit 2bc6c36cda
3 changed files with 4 additions and 48 deletions

View File

@ -1,7 +1,7 @@
pkgbase = qca-swiss-army-knife pkgbase = qca-swiss-army-knife
pkgdesc = Qualcomm Atheros swiss army knife pkgdesc = Qualcomm Atheros swiss army knife
pkgver = r274.e9a0327 pkgver = r274.e9a0327
pkgrel = 1 pkgrel = 2
url = https://github.com/qca/qca-swiss-army-knife url = https://github.com/qca/qca-swiss-army-knife
arch = aarch64 arch = aarch64
arch = armv7 arch = armv7
@ -14,7 +14,7 @@ pkgbase = qca-swiss-army-knife
depends = libpciaccess depends = libpciaccess
optdepends = python optdepends = python
optdepends = perl 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 md5sums = SKIP
pkgname = qca-swiss-army-knife pkgname = qca-swiss-army-knife

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 --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
}
}
}
}

View File

@ -4,7 +4,7 @@
pkgname="qca-swiss-army-knife" pkgname="qca-swiss-army-knife"
pkgdesc="Qualcomm Atheros swiss army knife" pkgdesc="Qualcomm Atheros swiss army knife"
pkgver=r274.e9a0327 pkgver=r274.e9a0327
pkgrel=1 pkgrel=2
arch=("aarch64" "armv7" "x86_64") arch=("aarch64" "armv7" "x86_64")
url="https://github.com/qca/qca-swiss-army-knife" url="https://github.com/qca/qca-swiss-army-knife"
license=("custom") license=("custom")
@ -12,7 +12,7 @@ groups=("qcom-icnss-wlan")
depends=("libpciaccess") depends=("libpciaccess")
optdepends=("python" "perl") optdepends=("python" "perl")
makedepends=("git" "make" "gcc") makedepends=("git" "make" "gcc")
source=("git+$url") source=("git+https://gitea.classfun.cn:4443/mirrors/qca-swiss-army-knife.git")
md5sums=('SKIP') md5sums=('SKIP')
pkgver() { pkgver() {