Added dedicated db jobs for imports.

This commit is contained in:
Martin Edenhofer 2016-01-26 16:20:26 +01:00
parent da1534d0f9
commit a52b2472a8

View file

@ -131,7 +131,7 @@ job_integration_user_agent:
- rake db:migrate
- ruby -I test/ test/integration/user_agent_test.rb
job_integration_es:
job_integration_es_mysql:
stage: test
tags:
- core
@ -147,7 +147,7 @@ job_integration_es:
- ruby -I test/ test/controllers/search_controller_test.rb
- ruby -I test/ test/integration/report_test.rb
job_integration_es:
job_integration_es_postgresql:
stage: test
tags:
- core
@ -163,10 +163,11 @@ job_integration_es:
- ruby -I test/ test/controllers/search_controller_test.rb
- ruby -I test/ test/integration/report_test.rb
job_integration_zendesk:
job_integration_zendesk_mysql:
stage: test
tags:
- core
- mysql
script:
- export RAILS_ENV=test
- rake db:drop;
@ -174,10 +175,36 @@ job_integration_zendesk:
- rake db:migrate
- ruby -I test/ test/integration/zendesk_import_test.rb
job_integration_otrs_5:
job_integration_zendesk_postgresql:
stage: test
tags:
- core
- postgresql
script:
- export RAILS_ENV=test
- rake db:drop;
- rake db:create
- rake db:migrate
- ruby -I test/ test/integration/zendesk_import_test.rb
job_integration_otrs_5_mysql:
stage: test
tags:
- core
- mysql
script:
- export RAILS_ENV=test
- export IMPORT_OTRS_ENDPOINT="http://vz599.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator"
- rake db:drop;
- rake db:create
- rake db:migrate
- ruby -I test/ test/integration/otrs_import_test.rb
job_integration_otrs_5_postgresql:
stage: test
tags:
- core
- postgresql
script:
- export RAILS_ENV=test
- export IMPORT_OTRS_ENDPOINT="http://vz599.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator"