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

name of service changed and pid file was moved

parent 26574dc7
No related branches found
No related tags found
1 merge request!296name of service changed and pid file was moved
Pipeline #35772 passed
...@@ -116,9 +116,9 @@ test_install_debian_package_ubuntu_18: ...@@ -116,9 +116,9 @@ test_install_debian_package_ubuntu_18:
- apt-add-repository "deb http://debian-repo/ unstable main" -n - apt-add-repository "deb http://debian-repo/ unstable main" -n
- apt-get update --allow-insecure-repositories - apt-get update --allow-insecure-repositories
- DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated smasch - 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/ - 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 #we need to wait a bit for gunicorn start
- sleep 15 - sleep 15
- wget http://localhost:8888/account/login/?next=/ - wget http://localhost:8888/account/login/?next=/
...@@ -145,9 +145,9 @@ test_install_debian_package_ubuntu_20: ...@@ -145,9 +145,9 @@ test_install_debian_package_ubuntu_20:
- apt-add-repository "deb http://debian-repo/ unstable main" -n - apt-add-repository "deb http://debian-repo/ unstable main" -n
- apt-get update --allow-insecure-repositories - apt-get update --allow-insecure-repositories
- DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated smasch - 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/ - 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 #we need to wait a bit for gunicorn start
- sleep 15 - sleep 15
- wget http://localhost:8888/account/login/?next=/ - wget http://localhost:8888/account/login/?next=/
...@@ -174,9 +174,9 @@ test_install_debian_package_debian_buster: ...@@ -174,9 +174,9 @@ test_install_debian_package_debian_buster:
- apt-add-repository "deb http://debian-repo/ unstable main" - apt-add-repository "deb http://debian-repo/ unstable main"
- apt-get update --allow-insecure-repositories - apt-get update --allow-insecure-repositories
- DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated smasch - 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/ - 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 #we need to wait a bit for gunicorn start
- sleep 15 - sleep 15
- wget http://localhost:8888/account/login/?next=/ - 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