services-garbaye/podman-framadate/.gitlab-ci.yml
2022-02-12 18:58:32 +01:00

18 lines
805 B
YAML

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
- 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 rmi $(podman images -a -q -- localhost/framadate-app)
- podman volume rm podman-framadate_framadate-db