Skip to content
Snippets Groups Projects
Commit 3818fa77 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #11895 TIME 1 Test E2E

parent a4d79d26
No related branches found
No related tags found
No related merge requests found
...@@ -34,10 +34,9 @@ job_e2e: ...@@ -34,10 +34,9 @@ job_e2e:
image: php:7.4-apache image: php:7.4-apache
stage: test stage: test
script: script:
- ls -al /usr/local/etc/php/conf.d/ - sed -i -e "s/error_reporting = E_ALL \& ~E_DEPRECATED \& ~E_STRICT/error_reporting = E_ALL \& ~E_NOTICE \& ~E_DEPRECATED \& ~E_STRICT/g" /etc/php.ini \
- sed -i -e "s/error_reporting = E_ALL \& ~E_DEPRECATED \& ~E_STRICT/error_reporting = E_ALL \& ~E_NOTICE \& ~E_DEPRECATED \& ~E_STRICT/g" /etc/php/7.4/apache2/php.ini \ - sed -i -e "s/display_errors = Off/display_errors = On/g" /etc/php.ini \
- sed -i -e "s/display_errors = Off/display_errors = On/g" /etc/php/7.4/apache2/php.ini \ - sed -i -e "s/short_open_tag = Off/short_open_tag = On/g" /etc/php.ini
- sed -i -e "s/short_open_tag = Off/short_open_tag = On/g" /etc/php/7.4/apache2/php.ini
- service apache2 start - service apache2 start
- mkdir -p /opt/maarch/docservers/indexes/{letterbox_coll,attachments_coll,version_attachments_coll} - mkdir -p /opt/maarch/docservers/indexes/{letterbox_coll,attachments_coll,version_attachments_coll}
- mkdir -p /opt/maarch/docservers/{ai,manual,manual_attachments,templates,acknowledgement_receipts} - mkdir -p /opt/maarch/docservers/{ai,manual,manual_attachments,templates,acknowledgement_receipts}
......
...@@ -30,4 +30,6 @@ apt-get install -y libpq-dev libxml2-dev libxslt1-dev libpng-dev unoconv xpdf-ut ...@@ -30,4 +30,6 @@ apt-get install -y libpq-dev libxml2-dev libxslt1-dev libpng-dev unoconv xpdf-ut
&& echo "AllowOverride All" >> directory.txt \ && echo "AllowOverride All" >> directory.txt \
&& echo "Require all granted" >> directory.txt \ && echo "Require all granted" >> directory.txt \
&& echo "</Directory>" >> directory.txt \ && echo "</Directory>" >> directory.txt \
&& sed -i -e '/CustomLog/r directory.txt' /etc/apache2/sites-available/000-default.conf && sed -i -e '/CustomLog/r directory.txt' /etc/apache2/sites-available/000-default.conf \
&& cp ci/php.ini /usr/local/etc/php/conf.d/php.ini \
&& cp ci/php.ini /usr/local/etc/php/php.ini
ci/php.ini 0 → 100755
This diff is collapsed.
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