*Add CI and packaging
This commit is contained in:
parent
9157d43544
commit
eb8a24682e
|
@ -0,0 +1,34 @@
|
|||
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
|
|
@ -0,0 +1,18 @@
|
|||
name: "lumeweb-relay-plugin-core"
|
||||
arch: "amd64"
|
||||
platform: "linux"
|
||||
version: "v0.1.0"
|
||||
section: "default"
|
||||
priority: "extra"
|
||||
maintainer: "Derrick Hammer contact@lumeweb.com"
|
||||
description: Core Plugin for Lume Web Relay
|
||||
vendor: "Hammer Technologies LLC"
|
||||
homepage: "https://lumeweb.com"
|
||||
license: "MIT"
|
||||
contents:
|
||||
- src: ./dist/core.js
|
||||
dst: /etc/lumeweb/relay/plugins/core.js
|
||||
- src: ./core.json
|
||||
dst: /etc/lumeweb/relay/config.d/core.json
|
||||
depends:
|
||||
- lumeweb-relay
|
Reference in New Issue