PKGBUILD/.drone.yml

55 lines
964 B
YAML
Raw Permalink Normal View History

2022-04-02 14:59:04 +00:00
---
2023-06-10 12:30:50 +00:00
kind: pipeline
type: kubernetes
name: build
2022-04-02 14:59:04 +00:00
2023-06-10 12:30:50 +00:00
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
---
2022-04-02 14:59:04 +00:00
kind: pipeline
type: kubernetes
name: deploy
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:
2023-06-10 12:30:50 +00:00
- name: build-pkg
2022-04-02 14:59:04 +00:00
commands:
- makepkg --sign
2023-06-10 12:30:50 +00:00
- scp *.pkg.tar.zst* ${AUR_SERVER}:/${AUR_PATH}
2022-04-02 14:59:04 +00:00
environment:
MAKEPKG_PACKAGER: "csrbot@cryptic.systems"
MAKEPKG_PKGEXT: ".pkg.tar.zst"
MAKEPKG_SRCEXT: ".src.tar.zst"
2023-06-10 12:30:50 +00:00
SSH_KEY:
from_secret:
ssh_key
2022-04-02 14:59:04 +00:00
image: docker.io/volkerraschek/build-image:latest
2023-06-10 12:30:50 +00:00
trigger:
event:
include:
- pull_request
- push