From 766b29eed665f4be12f31fed4137dd21e755770e Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 15 Jan 2016 13:45:38 +0100 Subject: [PATCH] Added CI OTRS import browser test. --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56eb42c05..d938e247f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -131,6 +131,7 @@ job_integration_otrs_5: stage: test tags: - core + - OTRS script: - export RAILS_ENV=test - export IMPORT_OTRS_ENDPOINT="http://vz599.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator" @@ -143,6 +144,7 @@ job_integration_otrs_4: stage: test tags: - core + - OTRS script: - export RAILS_ENV=test - export IMPORT_OTRS_ENDPOINT="http://vz383.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator" @@ -155,6 +157,7 @@ job_integration_otrs_33: stage: test tags: - core + - OTRS script: - export RAILS_ENV=test - export IMPORT_OTRS_ENDPOINT="http://vz305.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator" @@ -167,6 +170,7 @@ job_integration_otrs_32: stage: test tags: - core + - OTRS script: - export RAILS_ENV=test - export IMPORT_OTRS_ENDPOINT="http://vz382.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator" @@ -179,6 +183,7 @@ job_integration_otrs_31: stage: test tags: - core + - OTRS script: - export RAILS_ENV=test - export IMPORT_OTRS_ENDPOINT="http://vz381.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator" @@ -402,3 +407,21 @@ job_integration_facebook_chrome: - script/build/test_startup.sh $RAILS_ENV $BROWSER_PORT $WS_PORT - ruby -I test/ test/integration/facebook_browser_test.rb || script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1 - script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT + +job_integration_otrs_chrome: + stage: browser + tags: + - browser-chrome + - OTRS + script: + - export BROWSER_PORT=4061 + - export WS_PORT=4062 + - export IMPORT_BT_OTRS_ENDPOINT="http://vz599.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator" + - export IMPORT_BT_OTRS_ENDPOINT_KEY="01234567899876543210" + - export BROWSER_URL=http://$IP:$BROWSER_PORT + - RAILS_ENV=test rake db:create + - script/bootstrap.sh + - rake assets:precompile + - script/build/test_startup.sh $RAILS_ENV $BROWSER_PORT $WS_PORT + - ruby -I test/ test/integration/otrs_import_browser_test.rb || script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1 + - script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT