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

27 lines
829 B
YAML

# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script:
- podman container rm --force podman-privatebin
- rm -f ~/.config/systemd/user/container-podman-privatebin.service && systemctl --user daemon-reload
- podman volume rm --force privatebin-data
- podman volume rm --force privatebin-var-lib-nginx-tmp
- podman volume rm --force privatebin-run
- podman volume rm --force privatebin-tmp
privatebin:
stage: test
script:
- cd podman-privatebin
- ./ci_build_images.sh
- GARBAYE_PRIVATEBIN_ENV_LISTENPORT=18084 ./05_freshinstall.sh
- ./20_enable.sh
- ./30_start.sh && sleep 10
- ./40_stop.sh
- ./70_disable.sh
- ./80_destroy.sh
- podman volume rm privatebin-data
tags:
- garbaye
- compute
- podman