2022-12-07 09:36:47 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: git.lumeweb.com/lumeweb/ci-node
|
|
|
|
commands:
|
2022-12-12 11:44:41 +00:00
|
|
|
- apt-get update && apt-get install libunbound-dev
|
2022-12-14 18:27:48 +00:00
|
|
|
- corepack enable
|
|
|
|
- corepack prepare yarn@stable --activate
|
2022-12-07 09:36:47 +00:00
|
|
|
- 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:
|
2022-12-07 10:44:14 +00:00
|
|
|
from_secret: APT_USERNAME
|
2022-12-07 09:36:47 +00:00
|
|
|
apt_password:
|
2022-12-07 10:44:14 +00:00
|
|
|
from_secret: APT_PASSWORD
|
2022-12-07 09:36:47 +00:00
|
|
|
repo: apt.web3relay.io
|
|
|
|
folder: ubuntu
|
|
|
|
distro: focal
|
|
|
|
gpg_password:
|
2022-12-07 10:44:14 +00:00
|
|
|
from_secret: GPG_PASSWORD
|
2022-12-07 09:36:47 +00:00
|
|
|
publish_jammy:
|
|
|
|
image: git.lumeweb.com/lumeweb/aptly-publisher
|
|
|
|
settings:
|
|
|
|
apt_username:
|
2022-12-07 10:44:14 +00:00
|
|
|
from_secret: APT_USERNAME
|
2022-12-07 09:36:47 +00:00
|
|
|
apt_password:
|
2022-12-07 10:44:14 +00:00
|
|
|
from_secret: APT_PASSWORD
|
2022-12-07 09:36:47 +00:00
|
|
|
repo: apt.web3relay.io
|
|
|
|
folder: ubuntu
|
|
|
|
distro: jammy
|
|
|
|
gpg_password:
|
2022-12-07 10:44:14 +00:00
|
|
|
from_secret: GPG_PASSWORD
|
2022-12-07 09:36:47 +00:00
|
|
|
purge_cdn:
|
|
|
|
image: git.lumeweb.com/lumeweb/do-cdn-purge
|
|
|
|
settings:
|
|
|
|
DIGITALOCEAN_ACCESS_TOKEN:
|
2022-12-12 14:03:57 +00:00
|
|
|
from_secret: digitalocean_access_token
|
2022-12-07 09:36:47 +00:00
|
|
|
DIGITALOCEAN_CDN_ID:
|
2022-12-12 14:03:57 +00:00
|
|
|
from_secret: digitalocean_cdn_id
|