I’m trying to deploy a build with gitlab-ci and I’m running the following script:
[ -f /etc/init.d/spot ] && sudo service spot stop ; sudo killall -9 server || true; sudo cp /opt/ircam-sw/linux_service/spot /etc/init.d/. && sudo service spot start
When I’m running it from a console, everything works like a charm, the output is:
Process is not started. server: no process found Starting SPOT server:Done!
However when the runner does it, the output is identical, but the deploy task doesn’t finish. The duration reached 35 minutes and it should have been done in under a minute. Any ideas?