services-garbaye/podman-ntfy/.gitlab-ci.yml
2022-11-18 11:05:14 +01:00

23 lines
666 B
YAML

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