27 lines
1,007 B
YAML
27 lines
1,007 B
YAML
|
# Si besoin d'executer le before_script manuellement :
|
||
|
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
|
||
|
before_script:
|
||
|
- podman pod exists pod_podman-vaultwarden && podman pod rm --force pod_podman-vaultwarden
|
||
|
- rm -f ~/.config/systemd/user/pod-podman-vaultwarden.service && systemctl --user daemon-reload
|
||
|
- podman volume exists podman-vaultwarden_data && podman volume rm podman-vaultwarden_data
|
||
|
- podman volume exists podman-vaultwarden_database && podman volume rm podman-vaultwarden_database
|
||
|
|
||
|
vaultwarden:
|
||
|
stage: test
|
||
|
script:
|
||
|
- cd podman-vaultwarden
|
||
|
- ./ci_build-images.sh
|
||
|
- GARBAYE_HEDGEDOC_DATABASE_PASSWORD=ChohNiephuD1nec6 GARBAYE_HEDGEDOC_DOMAIN=qlf-vaultwarden.garbaye.fr ./05_freshinstall.sh
|
||
|
- ./20_enable.sh
|
||
|
- ./30_start.sh && sleep 10
|
||
|
- ./40_stop.sh
|
||
|
- ./70_disable.sh
|
||
|
- ./80_destroy.sh
|
||
|
- podman volume rm podman-vaultwarden_data
|
||
|
- podman volume rm podman-vaultwarden_database
|
||
|
tags:
|
||
|
- garbaye
|
||
|
- compute
|
||
|
- podman
|
||
|
- x86_64
|