Compare commits

..

6 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
7b8b32f3f2
fix: upgrade to version v0.3.2-2 2021-05-26 20:50:35 +02:00
2 changed files with 49 additions and 43 deletions

View File

@ -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 = fb7688d20d8d5b6293f826b2c0aa2748cbab6ef1dffab9529cc3371fffc4b18dc1e7ae1799cab187cea5dd7d5b859cbd8d693fd7b83736e6ecb2d94d255a2a13 sha512sums = 1e53256f0b45c0e887b224ca697b3c1fadfb4135399595cbfee758f8f6c2357471da287a816d7fd0924adb96bc43676adf3149b0dd6bfa3f1c6c6947fcc6c760
pkgname = flucky pkgname = flucky

View File

@ -1,49 +1,55 @@
---
kind: pipeline kind: pipeline
type: docker type: kubernetes
name: amd64 name: build
node_selector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
steps: steps:
- name: makepkg - name: build-pkg
image: docker.io/volkerraschek/build-image:latest
commands: commands:
- pacman --sync --refresh --sysupgrade --noconfirm --needed sudo binutils fakeroot - makepkg --sign
- 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"
image: docker.io/volkerraschek/build-image:latest
- name: upload-pkg-into-aur trigger:
image: appleboy/drone-scp:1.6.2 event:
settings: include:
host: aur.cryptic.systems - pull_request
user: root - push
key: exclude:
from_secret: repository-ssh-key - tag
port: 22
command_timeout: 2m
target:
- /srv/aur/x86_64
source:
- flucky-*.zst*
when:
branch:
- master
repo:
- flucky/PKGBUILD
# - name: push-latest-commit ---
# environment: kind: pipeline
# GIT_PUSH_SSH_KEY: type: kubernetes
# from_secret: name: deploy
# 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: node_selector:
# aur: "true" 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