Skip to content
Snippets Groups Projects
Commit f85350f0 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #11895 TIME 0:10 test e2e gitlab

parent 6f567e8a
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,29 @@ before_script:
- bash ci/docker_install_php.sh > /dev/null
- bash ci/docker_install_database.sh > /dev/null
job_e2e:
image: php:7.4-apache
stage: test
script:
- mkdir -p /opt/maarch/docservers/indexes/{letterbox_coll,attachments_coll,version_attachments_coll}
- mkdir -p /opt/maarch/docservers/{ai,manual,manual_attachments,templates}
- mkdir -p /opt/maarch/docservers/{convert_attachments,convert_attachments_version,convert_mlb}
- mkdir -p /opt/maarch/docservers/{fulltext_attachments,fulltext_attachments_version,fulltext_mlb}
- mkdir -p /opt/maarch/docservers/{thumbnails_attachments,thumbnails_attachments_version,thumbnails_mlb}
- mkdir -p /var/www/html/
- cp -R /builds/maarch/MaarchCourrier/ /var/www/html/
- cd /var/www/html/MaarchCourrier
- mkdir -p /var/www/html/MaarchCourrier
- curl -sL https://deb.nodesource.com/setup_13.x | bash -
- apt-get install -yqq nodejs
- npm install npm@latest -g
- npm set registry https://registry.npmjs.org/
- npm install
- sed 's/<databaseserver>.*<\/databaseserver>/<databaseserver>postgres<\/databaseserver>/;s/<databasepassword>.*<\/databasepassword>/<databasepassword><\/databasepassword>/;s/<databasename>.*<\/databasename>/<databasename>MaarchCourrier<\/databasename>/;s/<databaseuser>.*<\/databaseuser>/<databaseuser>maarch<\/databaseuser>/' apps/maarch_entreprise/xml/config.xml.default > apps/maarch_entreprise/xml/config.xml
- npm run ee-launch
only:
- develop
job_php-7.4:
image: php:7.4-apache
stage: test
......
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