dot-files/.drone.yml
Bruno BELANYI 130c62dfc5 [ADD][CI] Matrix notifications
Only notify on full install. The linking step is included in it, so if
it fails the install would also fail.
2020-12-12 14:12:42 +01:00

39 lines
912 B
YAML

---
kind: pipeline
name: verify linking
steps:
- name: link & unlink
image: archlinux
pull: always
commands:
- pacman -Suy --noconfirm --needed make git stow sudo vim tmux emacs
- "echo 'root ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- make link-all
- make unlink-all
---
kind: pipeline
name: verify install
steps:
- name: full install
image: oblique/archlinux-yay
pull: always
commands:
- "echo 'root ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- ./bootstrap.sh --no-creds --no-lang --no-yay
- make YAY='sudo -u aur yay -S --noconfirm --needed' HASKELL_DEPENDENCIES=''
- name: notify
image: plugins/matrix
settings:
homeserver:
from_secret: matrix_homeserver
roomid:
from_secret: matrix_roomid
username:
from_secret: matrix_username
password:
from_secret: matrix_password