relay/.woodpecker.yml

50 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2022-09-25 23:53:23 +00:00
pipeline:
build:
image: git.lumeweb.com/lumeweb/ci-node
commands:
2022-12-15 10:22:58 +00:00
- corepack enable
- corepack prepare yarn@stable --activate
- 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
2022-12-18 14:30:40 +00:00
purge_do_cdn:
2022-12-06 20:17:37 +00:00
image: git.lumeweb.com/lumeweb/do-cdn-purge
settings:
2022-12-06 20:17:37 +00:00
DIGITALOCEAN_ACCESS_TOKEN:
2022-12-12 14:13:55 +00:00
from_secret: digitalocean_access_token
2022-12-06 20:17:37 +00:00
DIGITALOCEAN_CDN_ID:
2022-12-12 14:13:55 +00:00
from_secret: digitalocean_cdn_id
2022-12-18 14:30:40 +00:00
purge_cf_cdn:
image: git.lumeweb.com/lumeweb/cf-cdn-purge
settings:
CLOUDFLARE_ACCESS_TOKEN:
from_secret: cloudflare_access_token
DOMAIN: web3relay.io