dot-files/.drone.yml
Bruno BELANYI f227d15cd6 [FIX] Only install missing packages
The `-S` flag reinstalls dependencies if they are already present on the
system, the `--needed` flag makes it so that `pacman` skips them instead
2020-12-12 14:12:42 +01:00

27 lines
636 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
- "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=''