test-drone/.drone.yml

35 lines
561 B
YAML

---
kind: pipeline
type: docker
name: exec docker test
steps:
- name: test
image: hello-world
---
kind: pipeline
type: exec
name: exec runner test
steps:
- name: test
commands:
- nix run 'nixpkgs#hello'
- name: notify
commands:
- nix run 'github:ambroisie/matrix-notifier'
environment:
ADDRESS:
from_secret: matrix_homeserver
ROOM:
from_secret: matrix_roomid
USER:
from_secret: matrix_username
PASS:
from_secret: matrix_password
settings:
trigger:
status:
- failure
- success
...