services-garbaye/podman-ntfy/.gitlab-ci.yml
2022-12-10 19:26:43 +01:00

25 lines
702 B
YAML

# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script:
- podman container rm --force podman-ntfy
- rm -f ~/.config/systemd/user/container-podman-ntfy.service && systemctl --user daemon-reload
- podman volume rm -f ntfy-data
ntfy:
stage: test
script:
- cd podman-ntfy
- ./ci_build-images.sh
- GARBAYE_NTFY_ENV_LISTENPORT='18099' GARBAYE_NTFY_BASE_URL='http://notif.garbaye.fr' ./05_freshinstall.sh
- ./20_enable.sh
- ./30_start.sh && sleep 10
- ./40_stop.sh
- ./70_disable.sh
- ./80_destroy.sh
- podman volume rm -f ntfy-data
tags:
- garbaye
- compute
- podman
- x86_64