Skip to content
Snippets Groups Projects
Commit 80e2007c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch 'fix-debian-install-test' into 'master'

name of service changed and pid file was moved

See merge request NCER-PD/scheduling-system!296
parents 26574dc7 8b032965
No related branches found
No related tags found
1 merge request!296name of service changed and pid file was moved
Pipeline #35773 passed
......@@ -116,9 +116,9 @@ test_install_debian_package_ubuntu_18:
- apt-add-repository "deb http://debian-repo/ unstable main" -n
- apt-get update --allow-insecure-repositories
- DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated smasch
#systemd is not available on docker so we need to start manually gunicorn (gunicorn.service is not tested)
#systemd is not available on docker so we need to start manually gunicorn (smasch.service is not tested)
- cd /usr/lib/smasch/
- /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/gunicorn/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
- /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/smasch/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
#we need to wait a bit for gunicorn start
- sleep 15
- wget http://localhost:8888/account/login/?next=/
......@@ -145,9 +145,9 @@ test_install_debian_package_ubuntu_20:
- apt-add-repository "deb http://debian-repo/ unstable main" -n
- apt-get update --allow-insecure-repositories
- DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated smasch
#systemd is not available on docker so we need to start manually gunicorn (gunicorn.service is not tested)
#systemd is not available on docker so we need to start manually gunicorn (smasch.service is not tested)
- cd /usr/lib/smasch/
- /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/gunicorn/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
- /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/smasch/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
#we need to wait a bit for gunicorn start
- sleep 15
- wget http://localhost:8888/account/login/?next=/
......@@ -174,9 +174,9 @@ test_install_debian_package_debian_buster:
- apt-add-repository "deb http://debian-repo/ unstable main"
- apt-get update --allow-insecure-repositories
- DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated smasch
#systemd is not available on docker so we need to start manually gunicorn (gunicorn.service is not tested)
#systemd is not available on docker so we need to start manually gunicorn (smasch.service is not tested)
- cd /usr/lib/smasch/
- /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/gunicorn/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
- /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/smasch/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
#we need to wait a bit for gunicorn start
- sleep 15
- wget http://localhost:8888/account/login/?next=/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment