5 Commits

Author SHA1 Message Date
d2d77d1227 fix: build pkg in container
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-10 14:30:50 +02:00
5fd6826bde fix(ci): build on amd64
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-03 14:21:15 +02:00
48ef6e6f11 fix(ci): replace platform with node_selector
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-04-03 14:18:49 +02:00
80491cc86a fix(ci): specify os
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-04-02 17:55:38 +02:00
095145266a fix(ci): drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-04-02 17:00:12 +02:00
2 changed files with 56 additions and 0 deletions

55
.drone.yml Normal file
View 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
View File

@ -1,3 +1,4 @@
* *
!.drone.yml
!.gitignore !.gitignore
!PKGBUILD !PKGBUILD