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

29 lines
1.1 KiB
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 17:27:17 +00:00
before_script:
2022-12-13 20:38:58 +00:00
- podman pod rm --force pod_podman-matrix
- podman network rm --force podman-matrix_default
- podman container rm --force synapse-generate
- podman container rm --force buildkitd
2022-02-12 17:27:17 +00:00
- rm -f ~/.config/systemd/user/pod-podman-matrix.service && systemctl --user daemon-reload
2023-07-29 13:51:24 +00:00
- podman volume rm --force podman-matrix_matrixdotorg_synapse-data
- podman volume rm --force podman-matrix_matrixdotorg_synapse-pgsql
2022-02-12 17:27:17 +00:00
matrix:
stage: test
script:
- cd podman-matrix
2022-08-12 18:34:42 +00:00
- ./ci_build-images.sh
- GARBAYE_MATRIX_DOMAIN=matrix.garbaye.fr GARBAYE_MATRIX_URL=https://matrix.garbaye.fr GARBAYE_MATRIX_POSTGRES_PASSWORD=WHATEVERCIDBPASSWORD GARBAYE_MATRIX_ENV_LISTENPORT=18086 ./05_freshinstall.sh
2022-02-12 17:27:17 +00:00
- ./20_enable.sh
- ./30_start.sh && sleep 10
- ./40_stop.sh
- ./70_disable.sh
- ./80_destroy.sh
2023-07-29 13:54:03 +00:00
- podman volume rm podman-matrix_matrixdotorg_synapse-data
- podman volume rm podman-matrix_matrixdotorg_synapse-pgsql
2022-02-14 18:39:55 +00:00
tags:
- garbaye
- compute
- podman