migrate to gitea

This commit is contained in:
BigfootACA 2024-04-30 02:24:42 +08:00
parent 58be72ad70
commit 668d241901
3 changed files with 3 additions and 48 deletions

View File

@ -2,7 +2,7 @@ pkgbase = pd-mapper
pkgdesc = Qualcomm Protection Domain mapper
pkgver = r19.10997ba
pkgrel = 1
url = https://github.com/andersson/pd-mapper
url = https://gitea.classfun.cn:4443/mirrors/pd-mapper
arch = aarch64
groups = qcom-icnss-wlan
license = BSD-3-Clause
@ -10,7 +10,7 @@ pkgbase = pd-mapper
makedepends = make
makedepends = gcc
depends = qrtr
source = git+https://github.com/andersson/pd-mapper
source = git+https://gitea.classfun.cn:4443/mirrors/pd-mapper
md5sums = SKIP
pkgname = pd-mapper

45
Jenkinsfile vendored
View File

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

View File

@ -6,7 +6,7 @@ pkgdesc="Qualcomm Protection Domain mapper"
pkgver=r19.10997ba
pkgrel=1
arch=("aarch64")
url="https://github.com/andersson/$pkgname"
url="https://gitea.classfun.cn:4443/mirrors/$pkgname"
license=("BSD-3-Clause")
groups=("qcom-icnss-wlan")
depends=("qrtr")