2022-09-25 23:53:23 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
2022-09-27 17:39:11 +00:00
|
|
|
image: git.lumeweb.com/lumeweb/ci-node
|
2022-09-25 23:53:23 +00:00
|
|
|
commands:
|
|
|
|
- yarn
|
|
|
|
- yarn build
|
|
|
|
package:
|
2022-09-26 01:04:59 +00:00
|
|
|
image: ghcr.io/goreleaser/nfpm
|
2022-09-25 23:53:23 +00:00
|
|
|
commands:
|
|
|
|
- nfpm pkg --packager deb
|
2022-09-28 22:34:46 +00:00
|
|
|
publish_focal:
|
2022-09-28 10:04:12 +00:00
|
|
|
image: git.lumeweb.com/lumeweb/aptly-publisher
|
|
|
|
settings:
|
|
|
|
apt_username:
|
|
|
|
from_secret: apt_username
|
|
|
|
apt_password:
|
|
|
|
from_secret: apt_password
|
|
|
|
repo: apt.web3relay.io
|
2022-09-28 22:34:46 +00:00
|
|
|
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
|
2022-09-28 22:45:25 +00:00
|
|
|
distro: jammy
|
2022-09-28 22:34:46 +00:00
|
|
|
gpg_password:
|
|
|
|
from_secret: gpg_password
|
2022-12-06 19:10:58 +00:00
|
|
|
purge_cdn:
|
|
|
|
image: digitalocean/doctl:latest
|
|
|
|
settings:
|
|
|
|
do_access_token:
|
|
|
|
from_secret: do_access_token
|
|
|
|
do_cdn_id:
|
|
|
|
from_secret: do_cdn_id
|
|
|
|
commands:
|
|
|
|
- export DIGITALOCEAN_ACCESS_TOKEN=$PLUGIN_DO_ACCESS_TOKEN
|
|
|
|
- doctl compute cdn flush $PLUGIN_DO_CDN_ID
|