migrate to gitea
This commit is contained in:
parent
1223483c87
commit
18f6906f04
5
.SRCINFO
5
.SRCINFO
@ -2,11 +2,12 @@ pkgbase = pil-squasher
|
||||
pkgdesc = Convert split mdt + b%02d files into mbn file
|
||||
pkgver = r9.8ac2d5c
|
||||
pkgrel = 1
|
||||
url = https://github.com/andersson/pil-squasher
|
||||
url = https://gitea.classfun.cn:4443/mirrors/pil-squasher
|
||||
arch = aarch64
|
||||
arch = x86_64
|
||||
license = BSD
|
||||
depends = glibc
|
||||
source = git+https://github.com/andersson/pil-squasher
|
||||
source = git+https://gitea.classfun.cn:4443/mirrors/pil-squasher
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = pil-squasher
|
||||
|
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 '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 'sudo pacman -Syy'
|
||||
sh 'python3 jenkins-utils/upload-pkg.py -d . -a aarch64'
|
||||
}
|
||||
}
|
||||
stage('Archive') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: '*.pkg.tar.*', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
4
PKGBUILD
4
PKGBUILD
@ -5,8 +5,8 @@ pkgname=pil-squasher
|
||||
pkgver=r9.8ac2d5c
|
||||
pkgrel=1
|
||||
pkgdesc="Convert split mdt + b%02d files into mbn file"
|
||||
arch=("aarch64")
|
||||
url="https://github.com/andersson/pil-squasher"
|
||||
arch=("aarch64" "x86_64")
|
||||
url="https://gitea.classfun.cn:4443/mirrors/pil-squasher"
|
||||
depends=(glibc)
|
||||
license=('BSD')
|
||||
source=("git+${url}")
|
||||
|
Loading…
Reference in New Issue
Block a user