*Add apt packaging
ci/woodpecker/push/woodpecker Pipeline is pending
Details
ci/woodpecker/push/woodpecker Pipeline is pending
Details
This commit is contained in:
parent
7fabe8e61d
commit
cf201ce7f4
|
@ -0,0 +1,41 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: git.lumeweb.com/lumeweb/ci-node
|
||||
commands:
|
||||
- yarn
|
||||
- yarn build
|
||||
package:
|
||||
image: ghcr.io/goreleaser/nfpm
|
||||
commands:
|
||||
- nfpm pkg --packager deb
|
||||
publish_focal:
|
||||
image: git.lumeweb.com/lumeweb/aptly-publisher
|
||||
settings:
|
||||
apt_username:
|
||||
from_secret: apt_username
|
||||
apt_password:
|
||||
from_secret: apt_password
|
||||
repo: apt.web3relay.io
|
||||
folder: ubuntu
|
||||
distro: focal
|
||||
gpg_password:
|
||||
from_secret: gpg_password
|
||||
publish_jammy:
|
||||
image: git.lumeweb.com/lumeweb/aptly-publisher
|
||||
settings:
|
||||
apt_username:
|
||||
from_secret: apt_username
|
||||
apt_password:
|
||||
from_secret: apt_password
|
||||
repo: apt.web3relay.io
|
||||
folder: ubuntu
|
||||
distro: jammy
|
||||
gpg_password:
|
||||
from_secret: gpg_password
|
||||
purge_cdn:
|
||||
image: git.lumeweb.com/lumeweb/do-cdn-purge
|
||||
settings:
|
||||
DIGITALOCEAN_ACCESS_TOKEN:
|
||||
from_secret: DIGITALOCEAN_ACCESS_TOKEN
|
||||
DIGITALOCEAN_CDN_ID:
|
||||
from_secret: DIGITALOCEAN_CDN_ID
|
|
@ -0,0 +1,23 @@
|
|||
name: "lumeweb-relay-plugin-handshake"
|
||||
arch: "amd64"
|
||||
platform: "linux"
|
||||
version: "v0.1.0"
|
||||
section: "default"
|
||||
priority: "extra"
|
||||
maintainer: "Derrick Hammer contact@lumeweb.com"
|
||||
description: Handshake plugin for lumeweb-relay
|
||||
vendor: "Hammer Technologies LLC"
|
||||
homepage: "https://lumeweb.com"
|
||||
license: "MIT"
|
||||
contents:
|
||||
- src: ./build/Release/bcryto.node
|
||||
dst: /etc/lumeweb/relay/plugins/build/Release/bcryto.node
|
||||
- src: ./build/Release/goosig.node
|
||||
dst: /etc/lumeweb/relay/plugins/build/Release/goosig.node
|
||||
- src: ./build/Release/leveldown.node
|
||||
dst: /etc/lumeweb/relay/plugins/build/Release/leveldown.node
|
||||
- src: ./build/Release/mrmr.node
|
||||
dst: /etc/lumeweb/relay/plugins/build/Release/mrmr.node
|
||||
scripts:
|
||||
postinstall: ./pkg/scripts/postinstall.sh
|
||||
preremove: ./pkg/scripts/preremove.sh
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
systemctl restart lumeweb-relay.service
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
systemctl restart lumeweb-relay.service
|
Loading…
Reference in New Issue