conductor/.woodpecker.yml

35 lines
937 B
YAML
Raw Normal View History

2022-10-05 16:09:00 +05:30
pipeline:
backend:
image: rust
commands:
- apt update
- apt-get install -y --no-install-recommends nginx sudo
# nginx_le_bind runs this command.
# Testing beforehand to ensure it is setup properly
- sudo nginx -t
2022-10-05 16:09:00 +05:30
- make
- make test
2022-12-12 21:00:18 +05:30
- make release
publish_bins:
image: rust
commands:
- apt update
2022-12-12 21:08:38 +05:30
- apt-get -y --no-install-recommends install gpg tar curl wget
2022-12-12 21:00:18 +05:30
- echo -n "$RELEASE_BOT_GPG_SIGNING_KEY" | gpg --batch --import --pinentry-mode loopback
- ./scripts/bin-publish.sh publish master latest $DUMBSERVE_PASSWORD
secrets: [ RELEASE_BOT_GPG_SIGNING_KEY, DUMBSERVE_PASSWORD, GPG_PASSWORD ]
2022-10-05 16:09:00 +05:30
publish:
image: plugins/docker
when:
event: push
branch: master
2022-10-05 16:09:00 +05:30
settings:
username: realaravinth
password:
from_secret: DOCKER_TOKEN
2022-11-16 16:14:07 +05:30
repo: realaravinth/librepages-conductor
2022-10-05 16:09:00 +05:30
tags: latest