added autowizard as test (#139)
* added autowizard as test Signed-off-by: André Bauer <monotek23@gmail.com> * fix filename Signed-off-by: André Bauer <monotek23@gmail.com> * removed workflow needs Signed-off-by: André Bauer <monotek23@gmail.com> * added another sleep to see some more logs Signed-off-by: André Bauer <monotek23@gmail.com> * remove sleep Signed-off-by: André Bauer <monotek23@gmail.com>
This commit is contained in:
parent
20b99bcaa1
commit
028f6f4f5d
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"
|
||||
}
|
||||
]
|
||||
}
|
9
.github/tests.sh
vendored
9
.github/tests.sh
vendored
@ -18,3 +18,12 @@ sleep 30
|
||||
echo
|
||||
echo "Success - Zammad is up :)"
|
||||
echo
|
||||
echo "Execute autowizard..."
|
||||
echo
|
||||
|
||||
curl -I --silent --fail --show-error "http://localhost/#getting_started/auto_wizard/docker_compose_token" > /dev/null
|
||||
|
||||
echo
|
||||
echo "Autowizard executed successful"
|
||||
echo
|
||||
|
||||
|
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -16,7 +16,6 @@ jobs:
|
||||
|
||||
lint-docker-files:
|
||||
runs-on: ubuntu-latest
|
||||
needs: lint-bash-scripts
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
@ -36,7 +35,6 @@ jobs:
|
||||
test-docker-compose:
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-latest
|
||||
needs: lint-docker-files
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
@ -44,7 +42,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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user