services-garbaye/podman-ntfy/.gitlab-ci.yml

25 lines
707 B
YAML
Raw Normal View History

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