From 066ee337bf0f082e52c8d1bdc8afeee63c918338 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Tue, 30 Apr 2024 02:34:45 +0800 Subject: [PATCH] migrate to gitea --- .SRCINFO | 5 ++--- Jenkinsfile | 44 -------------------------------------------- PKGBUILD | 9 ++++----- 3 files changed, 6 insertions(+), 52 deletions(-) delete mode 100644 Jenkinsfile diff --git a/.SRCINFO b/.SRCINFO index dd7ae38..9d316da 100644 --- a/.SRCINFO +++ b/.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 diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index b746f9b..0000000 --- a/Jenkinsfile +++ /dev/null @@ -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 - } - } - } -} diff --git a/PKGBUILD b/PKGBUILD index 7b04912..b27b167 100644 --- a/PKGBUILD +++ b/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(){