2022-09-06 19:04:08 +00:00
|
|
|
# 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
|
2022-08-14 12:17:34 +00:00
|
|
|
- ./ci_build-images.sh
|
2023-02-10 15:04:40 +00:00
|
|
|
- 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
|
2022-02-12 18:18:19 +00:00
|
|
|
- ./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
|