~jomco/straatnaam

5668b2e20464344a68221ff1a972363684ac34ae — Remco van 't Veer 1 year, 8 months ago b71afe3
Add build failure email trigger
1 files changed, 9 insertions(+), 0 deletions(-)

M .build.yml
M .build.yml => .build.yml +9 -0
@@ 1,16 1,25 @@
# build.sr.ht

image: debian/bullseye

packages:
  - openjdk-11-jdk-headless
  - leiningen
  - postgresql
  - postgresql-postgis

sources:
  - https://git.sr.ht:~jomco/straatnaam

triggers:
  - action: email
    condition: failure
    to: ~jomco/build-feedback@lists.sr.ht

environment:
  PGTESTUSER: test
  PGTESTPASSWORD: test

tasks:
  - db: |
      sudo -u postgres psql <<EOF