Added dedicated db jobs for es.

This commit is contained in:
Martin Edenhofer 2016-01-26 16:13:02 +01:00
parent 5ed4a73d12
commit da1534d0f9

View file

@ -135,6 +135,23 @@ job_integration_es:
stage: test stage: test
tags: tags:
- core - core
- mysql
script:
- export RAILS_ENV=test
- export ES_INDEX="estest.local_zammad_"$RNAME
- export ES_URL="http://localhost:9200"
- rake db:drop;
- rake db:create
- rake db:migrate
- ruby -I test/ test/integration/elasticsearch_test.rb
- ruby -I test/ test/controllers/search_controller_test.rb
- ruby -I test/ test/integration/report_test.rb
job_integration_es:
stage: test
tags:
- core
- postgresql
script: script:
- export RAILS_ENV=test - export RAILS_ENV=test
- export ES_INDEX="estest.local_zammad_"$RNAME - export ES_INDEX="estest.local_zammad_"$RNAME