migrate to gitea

This commit is contained in:
BigfootACA 2024-04-30 02:34:45 +08:00
parent 3cfc97f7a8
commit 066ee337bf
3 changed files with 6 additions and 52 deletions

View File

@ -12,13 +12,12 @@ pkgbase = genimage
depends = confuse
optdepends = cramfs-tools: mkcramfs
optdepends = genext2fs
optdepends = qemu-headless: qemu-img
optdepends = qemu: qemu-img
optdepends = qemu-tools: qemu-img
optdepends = uboot-tools: mkimage
optdepends = rauc
optdepends = android-simg2img: simg2img
optdepends = simg-tools: simg2img
source = git+https://github.com/pengutronix/genimage.git
source = git+https://gitea.classfun.cn:4443/mirrors/genimage.git
sha256sums = SKIP
pkgname = genimage

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 --noconfirm --force'
}
}
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,21 +6,20 @@ pkgver=17.r6.gd97c672
pkgrel=1
pkgdesc="Tool to generate multiple filesystem and flash images from a tree"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url=https://github.com/pengutronix/$pkgname
url=https://github.com/pengutronix/genimage
license=(GPL-2.0-only)
depends=(confuse)
optdepends=(
'cramfs-tools: mkcramfs'
'genext2fs'
'qemu-headless: qemu-img'
'qemu: qemu-img'
'qemu-tools: qemu-img'
'uboot-tools: mkimage'
'rauc'
'android-simg2img: simg2img'
'android-simg2img: simg2img'
'simg-tools: simg2img'
)
makedepends=(git)
source=(git+${url}.git)
source=(git+https://gitea.classfun.cn:4443/mirrors/genimage.git)
sha256sums=(SKIP)
pkgver(){