diff --git a/.github/ auto_wizard.json b/.github/ auto_wizard.json new file mode 100644 index 0000000..90852bb --- /dev/null +++ b/.github/ auto_wizard.json @@ -0,0 +1,31 @@ +{ + "Token": "docker_compose_token", + "TextModuleLocale": { + "Locale": "en-us" + }, + "Users": [ + { + "login": "info@zammad.org", + "firstname": "Zam", + "lastname": "Mad", + "email": "info@zammad.org", + "organization": "Zammad", + "password": "Zammad" + } + ], + "Settings": [ + { + "name": "product_name", + "value": "Zammad Service Desk" + }, + { + "name": "system_online_service", + "value": true + } + ], + "Organizations": [ + { + "name": "Zammad" + } + ] +} \ No newline at end of file diff --git a/.github/tests.sh b/.github/tests.sh index 728e5bb..dec8af0 100755 --- a/.github/tests.sh +++ b/.github/tests.sh @@ -18,3 +18,8 @@ sleep 30 echo echo "Success - Zammad is up :)" echo +echo "Execute autowizard..." + +curl -I --silent --fail --show-error "http://localhost/#getting_started/auto_wizard/docker_compose_token" > /dev/null + +echo "autowizard executed successful" \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fecb75c..f298168 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -44,7 +44,7 @@ jobs: run: docker-compose pull - name: run docker-compose up run: docker-compose up --detach + - name: add autowizard file + run: docker cp .github/auto_wizard.json zammad-docker-compose_zammad-railsserver_1:/opt/zammad - name: run tests run: .github/tests.sh - -