Compare commits

...

8 commits

Author SHA1 Message Date
Bruno BELANYI 0583ed2310 WIP more verbose
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-12 16:55:26 +02:00
Bruno BELANYI c91766f15e Use nix flake check
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-06-12 16:53:14 +02:00
Bruno BELANYI 002f514dd5 WIP: more verbose
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-06-12 14:59:05 +02:00
Bruno BELANYI b287605b90 WIP: remove pre-commit check
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-06-12 14:56:16 +02:00
Bruno BELANYI 0694dcb7b7 WIP: more verbose
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-06-12 14:45:35 +02:00
Bruno BELANYI 23cda88f49 fixup! fixup! ci: add Drone CI
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-06-12 14:42:41 +02:00
Bruno BELANYI fa23e48ad5 fixup! ci: add Drone CI
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-06-12 14:39:09 +02:00
Bruno BELANYI 10e0623e17 ci: add Drone CI
Some checks reported errors
continuous-integration/drone/push Build was killed
This is my first experiment to make sure I can actually use this in my
CI.
2021-06-12 14:35:56 +02:00

31
.drone.yml Normal file
View file

@ -0,0 +1,31 @@
---
kind: pipeline
type: exec
name: Matrix Notifier check
steps:
- name: Pre-commit checks
commands:
- nix flake check -vvv
- name: Notifiy
commands:
- nix run .
environment:
ADDRESS:
from_secret: matrix_homeserver
ROOM:
from_secret: matrix_roomid
USER:
from_secret: matrix_username
PASS:
from_secret: matrix_password
MESSAGE:
# FIXME: need to find a way to link
"Build ${DRONE_BUILD_STATUS} [${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}](${dummy_link}) (${DRONE_BRANCH}) by ${DRONE_COMMIT_AUTHOR}"
settings:
trigger:
status:
- failure
- success
...