Added dedicated db jobs for es.
This commit is contained in:
parent
5ed4a73d12
commit
da1534d0f9
1 changed files with 17 additions and 0 deletions
|
@ -135,6 +135,23 @@ job_integration_es:
|
|||
stage: test
|
||||
tags:
|
||||
- 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:
|
||||
- export RAILS_ENV=test
|
||||
- export ES_INDEX="estest.local_zammad_"$RNAME
|
||||
|
|
Loading…
Reference in a new issue