From fd7d2acb15634cf15dd6bb3f866d37535dba628d Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 23 Nov 2015 11:06:49 +0100 Subject: [PATCH] Added auto wizard. --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 017567f5d..197ba2a07 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ before_script: stages: - test + - browser job_unit: stage: test @@ -133,6 +134,28 @@ job_integration_otrs_31: - rake db:migrate - ruby -I test/ test/integration/otrs_import_test.rb +job_integration_autowizard: + stage: browser + script: + - export RAILS_ENV=production + - export Z_LOCALES=en-us:de-de + - export IP=`hostname -I` + - export BROWSER_URL=http://$IP:3011 + - export REMOTE_URL=http://192.168.122.175:4444/wd/hub + - export BROWSER=firefox + - export RAILS_SERVE_STATIC_FILES=true + - script/build/test_db_config.sh ci_zammad_autowizard + - cp contrib/auto_wizard_example.json auto_wizard.json + - script/bootstrap.sh + - rake assets:precompile + - pumactl start --pidfile tmp/pids/puma.pid -d -p 3011 -e $RAILS_ENV + - script/websocket-server.rb start -d + - script/scheduler.rb start + - ruby -I test/ test/integration/auto_wizard_test.rb + - script/scheduler.rb stop + - script/websocket-server.rb stop + - kill $(cat tmp/pids/puma.pid) + rubocop: stage: test script: