migrate to gitea
This commit is contained in:
parent
ee8a6ed206
commit
c992e8313a
6
.SRCINFO
6
.SRCINFO
@ -1,13 +1,13 @@
|
||||
pkgbase = qmic
|
||||
pkgdesc = QMI IDL compiler
|
||||
pkgver = 1.0.r0.g4574736
|
||||
pkgrel = 1
|
||||
url = https://github.com/andersson/qmic
|
||||
pkgrel = 2
|
||||
url = https://github.com/linux-msm/qmic
|
||||
arch = aarch64
|
||||
license = BSD
|
||||
makedepends = git
|
||||
depends = glibc
|
||||
source = git+https://github.com/andersson/qmic
|
||||
source = git+https://gitea.classfun.cn:4443/mirrors/qmic.git
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = qmic
|
||||
|
45
Jenkinsfile
vendored
45
Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
6
PKGBUILD
6
PKGBUILD
@ -3,14 +3,14 @@
|
||||
|
||||
pkgname=qmic
|
||||
pkgver=1.0.r0.g4574736
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="QMI IDL compiler"
|
||||
arch=("aarch64")
|
||||
url="https://github.com/andersson/qmic"
|
||||
url="https://github.com/linux-msm/qmic"
|
||||
license=(BSD)
|
||||
makedepends=(git)
|
||||
depends=(glibc)
|
||||
source=("git+https://github.com/andersson/qmic")
|
||||
source=("git+https://gitea.classfun.cn:4443/mirrors/qmic.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
|
Loading…
Reference in New Issue
Block a user