2020-05-06 09:32:26 +00:00
|
|
|
.template_integration_es: &template_integration_es
|
|
|
|
extends:
|
|
|
|
- .env_base
|
|
|
|
- .services_mysql_postgresql_elasticsearch
|
|
|
|
- .variables_es
|
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- integration
|
|
|
|
script:
|
|
|
|
- bundle exec rake zammad:db:unseeded
|
|
|
|
- bundle exec rails test test/integration/elasticsearch_active_test.rb
|
|
|
|
- bundle exec rails test test/integration/elasticsearch_test.rb
|
|
|
|
- bundle exec rspec --tag searchindex --tag ~type:system
|
|
|
|
- bundle exec rails test test/integration/report_test.rb
|
|
|
|
|
|
|
|
es:7:
|
|
|
|
<<: *template_integration_es
|
|
|
|
variables:
|
|
|
|
ELASTICSEARCH_TAG: '7'
|
|
|
|
RAILS_ENV: "test"
|
2021-01-27 09:58:35 +00:00
|
|
|
|
2021-07-14 14:04:54 +00:00
|
|
|
es:7.8:
|
2021-01-27 09:58:35 +00:00
|
|
|
<<: *template_integration_es
|
|
|
|
variables:
|
2021-07-14 14:04:54 +00:00
|
|
|
ELASTICSEARCH_TAG: '7.8.1'
|
2021-01-27 09:58:35 +00:00
|
|
|
RAILS_ENV: "test"
|