Compare commits
6 Commits
feat/makep
...
master
Author | SHA1 | Date | |
---|---|---|---|
d2d77d1227 | |||
5fd6826bde | |||
48ef6e6f11 | |||
80491cc86a | |||
095145266a | |||
7b8b32f3f2 |
2
.SRCINFO
2
.SRCINFO
@ -10,7 +10,7 @@ pkgbase = flucky
|
||||
makedepends = go
|
||||
makedepends = make
|
||||
source = https://git.cryptic.systems/flucky/flucky/archive/v0.3.2.tar.gz
|
||||
sha512sums = fb7688d20d8d5b6293f826b2c0aa2748cbab6ef1dffab9529cc3371fffc4b18dc1e7ae1799cab187cea5dd7d5b859cbd8d693fd7b83736e6ecb2d94d255a2a13
|
||||
sha512sums = 1e53256f0b45c0e887b224ca697b3c1fadfb4135399595cbfee758f8f6c2357471da287a816d7fd0924adb96bc43676adf3149b0dd6bfa3f1c6c6947fcc6c760
|
||||
|
||||
pkgname = flucky
|
||||
|
||||
|
55
.drone.yml
Normal file
55
.drone.yml
Normal file
@ -0,0 +1,55 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: build
|
||||
|
||||
node_selector:
|
||||
kubernetes.io/os: linux
|
||||
kubernetes.io/arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build-pkg
|
||||
commands:
|
||||
- makepkg --sign
|
||||
environment:
|
||||
MAKEPKG_PACKAGER: "csrbot@cryptic.systems"
|
||||
MAKEPKG_PKGEXT: ".pkg.tar.zst"
|
||||
MAKEPKG_SRCEXT: ".src.tar.zst"
|
||||
image: docker.io/volkerraschek/build-image:latest
|
||||
|
||||
trigger:
|
||||
event:
|
||||
include:
|
||||
- pull_request
|
||||
- push
|
||||
exclude:
|
||||
- tag
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: deploy
|
||||
|
||||
node_selector:
|
||||
kubernetes.io/os: linux
|
||||
kubernetes.io/arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build-pkg
|
||||
commands:
|
||||
- makepkg --sign
|
||||
- scp *.pkg.tar.zst* ${AUR_SERVER}:/${AUR_PATH}
|
||||
environment:
|
||||
MAKEPKG_PACKAGER: "csrbot@cryptic.systems"
|
||||
MAKEPKG_PKGEXT: ".pkg.tar.zst"
|
||||
MAKEPKG_SRCEXT: ".src.tar.zst"
|
||||
SSH_KEY:
|
||||
from_secret:
|
||||
ssh_key
|
||||
image: docker.io/volkerraschek/build-image:latest
|
||||
|
||||
trigger:
|
||||
event:
|
||||
include:
|
||||
- pull_request
|
||||
- push
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
*
|
||||
!.drone.yml
|
||||
!.gitignore
|
||||
!PKGBUILD
|
2
PKGBUILD
2
PKGBUILD
@ -9,7 +9,7 @@ url=https://git.cryptic.systems/flucky/flucky
|
||||
license=('Apache 2.0')
|
||||
makedepends=('git' 'go' 'make')
|
||||
source=("https://git.cryptic.systems/flucky/flucky/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=('fb7688d20d8d5b6293f826b2c0aa2748cbab6ef1dffab9529cc3371fffc4b18dc1e7ae1799cab187cea5dd7d5b859cbd8d693fd7b83736e6ecb2d94d255a2a13')
|
||||
sha512sums=('1e53256f0b45c0e887b224ca697b3c1fadfb4135399595cbfee758f8f6c2357471da287a816d7fd0924adb96bc43676adf3149b0dd6bfa3f1c6c6947fcc6c760')
|
||||
|
||||
package() {
|
||||
make --directory ${srcdir}/${pkgname} DESTDIR=${pkgdir} PREFIX=/usr VERSION=${pkgver} install
|
||||
|
Loading…
Reference in New Issue
Block a user