migrate to gitea

This commit is contained in:
BigfootACA 2024-05-19 18:02:18 +08:00
parent 6126203978
commit e197243038
3 changed files with 5 additions and 50 deletions

View File

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

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

@ -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() {