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

27 lines
958 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-seafile
- rm -f ~/.config/systemd/user/pod-podman-seafile.service && systemctl --user daemon-reload
- podman volume rm --force podman-seafile_seafile-db
- podman volume rm --force podman-seafile_seafile-data
seafile:
stage: test
script:
- cd podman-seafile
- ./ci_build-images.sh
- GARBAYE_SEAFILE_ADMIN_EMAIL=laposte-seafile-ci@garbaye.fr GARBAYE_SEAFILE_SERVER_HOSTNAME=seafile.garbaye.fr GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD=ecruebdfklj GARBAYE_SEAFILE_ENV_LISTENPORT=18082 ./05_freshinstall.sh
- ./20_enable.sh
- ./30_start.sh && sleep 10
- ./40_stop.sh
- ./70_disable.sh
- ./80_destroy.sh
- podman volume rm podman-seafile_seafile-db
- podman volume rm podman-seafile_seafile-data
tags:
- garbaye
- compute
- podman
- x86_64