Adding peerjs to CI - .gitlab-ci.yml file

This commit is contained in:
Gitouche 2022-02-12 19:33:54 +01:00
parent 6b55f87b38
commit 3fc09440c1
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
before_script:
- podman container exists peerjs-server && podman container rm --force peerjs-server
- rm -f ~/.config/systemd/user/container-peerjs-server.service && systemctl --user daemon-reload
peerjs:
stage: test
script:
- cd podman-matrix
- GARBAYE_PEERJS_ENV_LISTENPORT=19000 ./10_install.sh
- ./20_enable.sh
- ./30_start.sh && sleep 10
- ./40_stop.sh
- ./70_disable.sh
- ./80_destroy.sh