services-garbaye/podman-hedgedoc/.gitlab-ci.yml
2023-04-05 22:21:43 +02:00

29 lines
947 B
YAML

# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script:
- podman pod rm --force pod_podman-hedgedoc
- podman container rm --force buildkitd
- rm -f ~/.config/systemd/user/pod-podman-hedgedoc.service && systemctl --user daemon-reload
- podman volume rm --force podman-hedgedoc_data
- podman volume rm --force podman-hedgedoc_database
- podman volume rm --force podman-hedgedoc_uploads
hedgedoc:
stage: test
script:
- cd podman-hedgedoc
- ./ci_build-images.sh
- GARBAYE_HEDGEDOC_DATABASE_PASSWORD=ChohNiephuD1nec6 GARBAYE_HEDGEDOC_DOMAIN=qlf-hedgedoc.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 podman-hedgedoc_data
- podman volume rm podman-hedgedoc_database
tags:
- garbaye
- compute
- podman
- x86_64