migrate to gitea
This commit is contained in:
parent
3cfc97f7a8
commit
066ee337bf
5
.SRCINFO
5
.SRCINFO
@ -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
44
Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
9
PKGBUILD
9
PKGBUILD
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user