*Initial version
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Derrick Hammer 2022-09-28 18:09:38 -04:00
parent dedff66b9b
commit 21b118b394
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
6 changed files with 43 additions and 0 deletions

18
.woodpecker.yml Normal file
View File

@ -0,0 +1,18 @@
pipeline:
package:
image: ghcr.io/goreleaser/nfpm
commands:
- nfpm pkg --packager deb
publish:
image: woodpeckerci/plugin-s3
settings:
endpoint: sfo3.digitaloceanspaces.com
bucket:
from_secret: s3_bucket
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
source: "*.deb"
target: /
acl: public-read

BIN
lumeweb.gpg Normal file

Binary file not shown.

17
nfpm.yaml Normal file
View File

@ -0,0 +1,17 @@
name: "lumeweb-repo"
arch: "amd64"
platform: "linux"
version: "v0.1.0"
section: "default"
priority: "extra"
maintainer: "Derrick Hammer contact@lumeweb.com"
description: Repository package For Lume Web relay software
vendor: "Hammer Technologies LLC"
homepage: "https://lumeweb.com"
license: "MIT"
contents:
- src: lumeweb.gpg
dst: /usr/share/keyrings/lumeweb.gpg
scripts:
preinstall: ./scripts/preinstall.sh
postremove: ./scripts/postremove.sh

4
scripts/postinstall.sh Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
DISTRO=$(lsb_release -cs)
echo "deb [signed-by=/usr/share/keyrings/lumeweb.gpg] https://apt.web3relay.io/ubuntu ${DISTRO} main" | tee /etc/apt/sources.list.d/lumeweb.list

3
scripts/postremove.sh Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
rm -f /etc/apt/sources.list.d/lumeweb.list

1
source.list Normal file
View File

@ -0,0 +1 @@
deb [signed-by=/usr/share/keyrings/lumeweb.gpg] https://apt.web3relay.io/ubuntu focal main