Compare commits

...

2 commits

Author SHA1 Message Date
Bruno BELANYI 4a099243ed Remove Drone CI
All checks were successful
ci/woodpecker/push/check Pipeline was successful
ci/woodpecker/manual/check Pipeline was successful
2023-04-01 17:11:28 +01:00
Bruno BELANYI 5e1ac9da61 Add Woodpecker CI workflow 2023-04-01 17:11:17 +01:00
2 changed files with 31 additions and 31 deletions

View file

@ -1,31 +0,0 @@
---
kind: pipeline
type: exec
name: abacus checks
steps:
- name: flake check
commands:
- nix flake check
- name: package check
commands:
- nix build
- name: notifiy
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
when:
status:
- failure
- success
...

31
.woodpecker/check.yml Normal file
View file

@ -0,0 +1,31 @@
labels:
type: exec
pipeline:
- name: flake check
image: bash
commands:
- nix flake check
- name: package check
image: bash
commands:
- nix build
- name: notify
image: bash
secrets:
- source: matrix_roomid
target: room
- source: matrix_username
target: user
- source: matrix_password
target: pass
- source: matrix_homeserver
target: address
commands:
- nix run github:ambroisie/matrix-notifier
when:
status:
- failure
- success