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

27 lines
849 B
YAML
Raw Normal View History

# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
2022-02-12 18:18:19 +00:00
before_script:
2022-12-13 20:38:58 +00:00
- podman pod rm --force pod_podman-seafile
2022-02-12 18:18:19 +00:00
- rm -f ~/.config/systemd/user/pod-podman-seafile.service && systemctl --user daemon-reload
2022-12-13 20:38:58 +00:00
- podman volume rm --force podman-seafile_seafile-db
- podman volume rm --force podman-seafile_seafile-data
2022-02-12 18:18:19 +00:00
seafile:
stage: test
script:
- cd podman-seafile
- ./ci_build-images.sh
2022-02-12 18:18:19 +00:00
- 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
2022-02-14 18:39:55 +00:00
tags:
- garbaye
- compute
- podman
- x86_64