test-drone/.drone.yml

35 lines
561 B
YAML
Raw Permalink Normal View History

2021-02-16 14:57:28 +01:00
---
kind: pipeline
type: docker
name: exec docker test
steps:
- name: test
image: hello-world
2021-02-16 14:54:59 +01:00
---
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
2021-02-16 14:57:28 +01:00
...