Compare commits
1 Commits
master
...
feat/makep
Author | SHA1 | Date | |
---|---|---|---|
988cb53ba8 |
2
.SRCINFO
2
.SRCINFO
@ -10,7 +10,7 @@ pkgbase = flucky
|
|||||||
makedepends = go
|
makedepends = go
|
||||||
makedepends = make
|
makedepends = make
|
||||||
source = https://git.cryptic.systems/flucky/flucky/archive/v0.3.2.tar.gz
|
source = https://git.cryptic.systems/flucky/flucky/archive/v0.3.2.tar.gz
|
||||||
sha512sums = 1e53256f0b45c0e887b224ca697b3c1fadfb4135399595cbfee758f8f6c2357471da287a816d7fd0924adb96bc43676adf3149b0dd6bfa3f1c6c6947fcc6c760
|
sha512sums = fb7688d20d8d5b6293f826b2c0aa2748cbab6ef1dffab9529cc3371fffc4b18dc1e7ae1799cab187cea5dd7d5b859cbd8d693fd7b83736e6ecb2d94d255a2a13
|
||||||
|
|
||||||
pkgname = flucky
|
pkgname = flucky
|
||||||
|
|
||||||
|
92
.drone.yml
92
.drone.yml
@ -1,55 +1,49 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: docker
|
||||||
name: build
|
name: amd64
|
||||||
|
|
||||||
node_selector:
|
|
||||||
kubernetes.io/os: linux
|
|
||||||
kubernetes.io/arch: amd64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-pkg
|
- name: makepkg
|
||||||
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
|
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:
|
commands:
|
||||||
- makepkg --sign
|
- pacman --sync --refresh --sysupgrade --noconfirm --needed sudo binutils fakeroot
|
||||||
- scp *.pkg.tar.zst* ${AUR_SERVER}:/${AUR_PATH}
|
- useradd --create-home builder
|
||||||
environment:
|
- chown --recursive builder:builder /drone/src
|
||||||
MAKEPKG_PACKAGER: "csrbot@cryptic.systems"
|
- su --shell /bin/bash builder -c "makepkg --force --cleanbuild --noconfirm"
|
||||||
MAKEPKG_PKGEXT: ".pkg.tar.zst"
|
|
||||||
MAKEPKG_SRCEXT: ".src.tar.zst"
|
|
||||||
SSH_KEY:
|
|
||||||
from_secret:
|
|
||||||
ssh_key
|
|
||||||
image: docker.io/volkerraschek/build-image:latest
|
|
||||||
|
|
||||||
trigger:
|
- name: upload-pkg-into-aur
|
||||||
event:
|
image: appleboy/drone-scp:1.6.2
|
||||||
include:
|
settings:
|
||||||
- pull_request
|
host: aur.cryptic.systems
|
||||||
- push
|
user: root
|
||||||
|
key:
|
||||||
|
from_secret: repository-ssh-key
|
||||||
|
port: 22
|
||||||
|
command_timeout: 2m
|
||||||
|
target:
|
||||||
|
- /srv/aur/x86_64
|
||||||
|
source:
|
||||||
|
- flucky-*.zst*
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
repo:
|
||||||
|
- flucky/PKGBUILD
|
||||||
|
|
||||||
|
# - name: push-latest-commit
|
||||||
|
# environment:
|
||||||
|
# GIT_PUSH_SSH_KEY:
|
||||||
|
# from_secret:
|
||||||
|
# github_ssh_key
|
||||||
|
# image: appleboy/drone-git-push:0.2.0-linux-amd64
|
||||||
|
# settings:
|
||||||
|
# remote: git@github.com:flucky/PKGBUILD.git
|
||||||
|
# force: true
|
||||||
|
# when:
|
||||||
|
# branch:
|
||||||
|
# - master
|
||||||
|
# repo:
|
||||||
|
# - flucky/PKGBUILD
|
||||||
|
|
||||||
|
# node:
|
||||||
|
# aur: "true"
|
Loading…
Reference in New Issue
Block a user