diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5edfab6f5d64ddd50111d569b7f49aac1ee95f95..2835bf86787aad8f741780f03b14120ce06ec51d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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=/