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

27 lines
1 KiB
YAML
Raw Normal View History

2022-11-26 22:00:34 +00:00
# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script:
2022-12-13 20:38:58 +00:00
- podman pod rm --force pod_podman-vaultwarden
2022-11-26 22:00:34 +00:00
- rm -f ~/.config/systemd/user/pod-podman-vaultwarden.service && systemctl --user daemon-reload
2022-12-13 20:38:58 +00:00
- podman volume rm --force podman-vaultwarden_data
- podman volume rm --force podman-vaultwarden_database
2022-11-26 22:00:34 +00:00
vaultwarden:
stage: test
script:
- cd podman-vaultwarden
- ./ci_build-images.sh
- GARBAYE_VAULTWARDEN_ENV_LISTENPORT=18090 GARBAYE_VAULTWARDEN_DATABASE_PASSWORD=z1NnqbjdpBOreGdzHzmcDldL GARBAYE_VAULTWARDEN_ADMIN_PASSWORD='$argon2id$v=19$m=65540,t=3,p=4$TW5OdGJKY1JRbUZlYVVLZU9JSUNlM0U3UWUvY1J1ZUNrdVhkTDRmYjlPVT0$aFGMAuj4UwaXVF3QRGIDbo/g/Fh/BQOnsRI0FTooij4' ./05_freshinstall.sh
2022-11-26 22:00:34 +00:00
- ./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