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

28 lines
905 B
YAML
Raw Normal View History

2022-11-19 13:28:08 +00:00
# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script:
2022-12-13 20:38:58 +00:00
- podman pod rm --force pod_podman-hedgedoc
2022-11-19 13:28:08 +00:00
- rm -f ~/.config/systemd/user/pod-podman-hedgedoc.service && systemctl --user daemon-reload
2022-12-13 20:38:58 +00:00
- podman volume rm --force podman-hedgedoc_data
- podman volume rm --force podman-hedgedoc_database
- podman volume rm --force podman-hedgedoc_uploads
2022-11-19 13:28:08 +00:00
hedgedoc:
stage: test
script:
- cd podman-hedgedoc
2022-11-20 12:35:11 +00:00
- ./ci_build-images.sh
- GARBAYE_HEDGEDOC_DATABASE_PASSWORD=ChohNiephuD1nec6 GARBAYE_HEDGEDOC_DOMAIN=qlf-hedgedoc.garbaye.fr ./05_freshinstall.sh
2022-11-19 13:28:08 +00:00
- ./20_enable.sh
- ./30_start.sh && sleep 10
- ./40_stop.sh
- ./70_disable.sh
- ./80_destroy.sh
- podman volume rm podman-hedgedoc_data
- podman volume rm podman-hedgedoc_database
tags:
- garbaye
- compute
- podman
- x86_64