Compare commits
5 Commits
7b8b32f3f2
...
master
Author | SHA1 | Date | |
---|---|---|---|
d2d77d1227
|
|||
5fd6826bde
|
|||
48ef6e6f11
|
|||
80491cc86a
|
|||
095145266a
|
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
|
!.gitignore
|
||||||
!PKGBUILD
|
!PKGBUILD
|
Reference in New Issue
Block a user