migrate to gitea

This commit is contained in:
BigfootACA 2024-04-30 03:02:40 +08:00
parent 6c53d466d4
commit 9f7a21e686
3 changed files with 4 additions and 48 deletions

View File

@ -1,7 +1,7 @@
pkgbase = mmc-utils
pkgdesc = Userspace tools for MMC/SD devices
pkgver = r113.9582278
pkgrel = 1
pkgrel = 2
epoch = 1
url = https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git
arch = x86_64
@ -13,7 +13,7 @@ pkgbase = mmc-utils
makedepends = git
provides = mmc-utils
conflicts = mmc-utils
source = git+https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git
source = git+https://gitea.classfun.cn:4443/korg/mmc-utils.git
sha256sums = SKIP
pkgname = mmc-utils

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

@ -4,7 +4,7 @@
pkgname=mmc-utils
pkgver=r113.9582278
pkgrel=1
pkgrel=2
epoch=1
pkgdesc="Userspace tools for MMC/SD devices"
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
@ -13,7 +13,7 @@ license=('GPL')
makedepends=('git')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=('git+https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git')
source=('git+https://gitea.classfun.cn:4443/korg/mmc-utils.git')
sha256sums=('SKIP')
pkgver() {