Update tests.sh

This commit is contained in:
André Bauer 2020-03-13 14:01:02 +01:00 committed by GitHub
parent 5025b5e7b5
commit 2f60d1fd14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/tests.sh vendored
View File

@ -18,21 +18,22 @@ sleep 30
echo echo
echo "Success - Zammad is up :)" echo "Success - Zammad is up :)"
echo echo
echo
echo "Execute autowizard..." echo "Execute autowizard..."
echo echo
curl -I --silent --fail --show-error "http://localhost/#getting_started/auto_wizard/docker_compose_token" > /dev/null docker exec zammad-docker-compose_zammad-railsserver_1 rake zammad:setup:auto_wizard
echo echo
echo "Autowizard executed successful :)" echo "Autowizard executed successful :)"
echo echo
echo echo
echo "Fill db with some random data..." echo "Fill DB with some random data"
docker exec zammad-docker-compose_zammad-railsserver_1 rails r "FillDB.load(agents: 1,customers: 1,groups: 1,organizations: 1,overviews: 1,tickets: 1)"
echo
echo "DB fill successful :)"
echo echo
docker exec zammad-docker-compose_zammad-railsserver_1 rails r "FillDB.load(agents: 10,customers: 10,groups: 10,organizations: 10,overviews: 10,tickets: 10)"
echo
echo "Fill DB executed successful :)"
echo