2022-08-21 18:04:27 +02:00
|
|
|
platform: linux/arm64
|
|
|
|
|
2022-08-21 18:01:12 +02:00
|
|
|
pipeline:
|
2022-08-23 15:43:33 +02:00
|
|
|
|
|
|
|
gitleaks:
|
2022-08-23 16:12:06 +02:00
|
|
|
image: registry.monotremata.xyz/gitleaks
|
2022-08-23 15:43:33 +02:00
|
|
|
pull: true
|
|
|
|
commands:
|
|
|
|
- gitleaks --source . --verbose --redact detect
|
|
|
|
|
2022-08-21 18:48:32 +02:00
|
|
|
build:
|
2022-08-21 18:01:12 +02:00
|
|
|
image: registry.monotremata.xyz/static-page-builder
|
2022-08-22 12:17:31 +02:00
|
|
|
pull: true
|
2022-08-21 18:01:12 +02:00
|
|
|
commands:
|
|
|
|
- make www
|
|
|
|
- make onion
|
2022-08-21 18:47:23 +02:00
|
|
|
|
|
|
|
publish:
|
2022-08-21 19:50:10 +02:00
|
|
|
image: registry.monotremata.xyz/rsync
|
2022-08-22 12:17:31 +02:00
|
|
|
pull: true
|
2022-08-21 18:47:23 +02:00
|
|
|
settings:
|
2022-08-21 19:48:11 +02:00
|
|
|
host: caladan
|
2022-08-21 18:47:23 +02:00
|
|
|
user: woodpecker
|
|
|
|
key:
|
|
|
|
from_secret: ssh_key
|
2022-09-03 19:20:51 +02:00
|
|
|
key_cert:
|
|
|
|
from_secret: ssh_key_cert
|
2022-08-22 12:00:32 +02:00
|
|
|
known_hosts:
|
|
|
|
from_secret: known_hosts
|
2022-08-22 13:08:59 +02:00
|
|
|
sources: ["html/www", "html/onion"]
|
2022-08-21 18:47:23 +02:00
|
|
|
target: /srv/sites/frontpage
|
2022-08-22 11:53:11 +02:00
|
|
|
args: --recursive --human-readable --verbose --delete
|
2022-08-23 10:19:05 +02:00
|
|
|
|
|
|
|
notify:
|
2022-08-23 14:06:55 +02:00
|
|
|
image: registry.monotremata.xyz/xmpp-ci
|
2022-08-23 10:19:05 +02:00
|
|
|
pull: true
|
|
|
|
settings:
|
|
|
|
username: "woodpecker@monotremata.xyz"
|
2022-08-23 14:06:55 +02:00
|
|
|
recipient: "rilla@monotremata.xyz"
|
2022-08-23 10:19:05 +02:00
|
|
|
password:
|
|
|
|
from_secret: xmpp_password
|
2022-08-23 14:06:55 +02:00
|
|
|
when:
|
|
|
|
status: [success, failure]
|