added autowizard as test
Signed-off-by: André Bauer <monotek23@gmail.com>
This commit is contained in:
parent
20b99bcaa1
commit
d1a516a7ed
31
.github/ auto_wizard.json
vendored
Normal file
31
.github/ auto_wizard.json
vendored
Normal file
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
5
.github/tests.sh
vendored
5
.github/tests.sh
vendored
@ -18,3 +18,8 @@ sleep 30
|
|||||||
echo
|
echo
|
||||||
echo "Success - Zammad is up :)"
|
echo "Success - Zammad is up :)"
|
||||||
echo
|
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"
|
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
run: docker-compose pull
|
run: docker-compose pull
|
||||||
- name: run docker-compose up
|
- name: run docker-compose up
|
||||||
run: docker-compose up --detach
|
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
|
- name: run tests
|
||||||
run: .github/tests.sh
|
run: .github/tests.sh
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user