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

22 lines
615 B
YAML

# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script:
- podman container exists podman-peerjs && 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