migrate to gitea
This commit is contained in:
parent
6c53d466d4
commit
9f7a21e686
4
.SRCINFO
4
.SRCINFO
@ -1,7 +1,7 @@
|
|||||||
pkgbase = mmc-utils
|
pkgbase = mmc-utils
|
||||||
pkgdesc = Userspace tools for MMC/SD devices
|
pkgdesc = Userspace tools for MMC/SD devices
|
||||||
pkgver = r113.9582278
|
pkgver = r113.9582278
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
epoch = 1
|
epoch = 1
|
||||||
url = https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git
|
url = https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
@ -13,7 +13,7 @@ pkgbase = mmc-utils
|
|||||||
makedepends = git
|
makedepends = git
|
||||||
provides = mmc-utils
|
provides = mmc-utils
|
||||||
conflicts = 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
|
sha256sums = SKIP
|
||||||
|
|
||||||
pkgname = mmc-utils
|
pkgname = mmc-utils
|
||||||
|
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
4
PKGBUILD
4
PKGBUILD
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
pkgname=mmc-utils
|
pkgname=mmc-utils
|
||||||
pkgver=r113.9582278
|
pkgver=r113.9582278
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc="Userspace tools for MMC/SD devices"
|
pkgdesc="Userspace tools for MMC/SD devices"
|
||||||
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
|
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
|
||||||
@ -13,7 +13,7 @@ license=('GPL')
|
|||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
provides=("${pkgname}")
|
provides=("${pkgname}")
|
||||||
conflicts=("${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')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
Loading…
Reference in New Issue
Block a user