2022-04-02 14:59:04 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
type: kubernetes
|
|
|
|
name: deploy
|
|
|
|
|
2022-04-03 12:18:49 +00:00
|
|
|
node_selector:
|
|
|
|
kubernetes.io/os: linux
|
2022-04-03 12:21:15 +00:00
|
|
|
kubernetes.io/arch: amd64
|
2022-04-02 14:59:04 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: arch-linux-pkg
|
|
|
|
commands:
|
|
|
|
- sed --in-place 's/pkgver=.*/pkgver=${DRONE_TAG}/' PKGBUILD
|
|
|
|
- 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:
|
|
|
|
# - tag
|