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

25 lines
935 B
YAML

# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script:
- podman pod exists podman-framadate && podman pod rm --force 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