services-garbaye/podman-peerjs/.gitlab-ci.yml
2022-12-13 21:38:58 +01:00

22 lines
574 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-peerjs
- rm -f ~/.config/systemd/user/container-podman-peerjs.service && systemctl --user daemon-reload
peerjs:
stage: test
script:
- cd podman-peerjs
- ./ci_build-images.sh
- GARBAYE_PEERJS_ENV_LISTENPORT=18081 ./10_install.sh
- ./20_enable.sh
- ./30_start.sh && sleep 10
- ./40_stop.sh
- ./70_disable.sh
- ./80_destroy.sh
tags:
- garbaye
- compute
- podman