services-garbaye/podman-framadate/.gitlab-ci.yml
2022-11-05 19:55:06 +01:00

25 lines
943 B
YAML

# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script:
- podman pod exists pod_podman-framadate && podman pod rm --force pod_podman-framadate
- rm -f ~/.config/systemd/user/pod-podman-framadate.service && systemctl --user daemon-reload
- podman volume exists podman-framadate_framadate-db && podman volume rm podman-framadate_framadate-db
framadate:
stage: test
script:
- cd podman-framadate
- ./ci_build_images.sh
- GARBAYE_FRAMADATE_ADMIN_PASSWORD=adlkjsqghen GARBAYE_FRAMADATE_MYSQL_ROOT_PASSWORD=zekjsljgnrxx GARBAYE_FRAMADATE_MYSQL_PASSWORD=azekljqlkcsdql GARBAYE_FRAMADATE_ENV_LISTENPORT=18087 ./05_freshinstall.sh
- ./20_enable.sh
- ./30_start.sh && sleep 10
- ./40_stop.sh
- ./70_disable.sh
- ./80_destroy.sh
- podman volume rm podman-framadate_framadate-db
tags:
- garbaye
- compute
- podman
- x86_64