test dockerhub images too (#146)

* fixed indentation

* added docker-compose lint

Signed-off-by: André Bauer <monotek23@gmail.com>

* test dockerhub images too

* pull images in separate step

* added smilye

* lowered timeouts
This commit is contained in:
André Bauer 2020-03-07 13:21:46 +01:00 committed by GitHub
parent 8e57219902
commit d9a7d7ea20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 2 deletions

2
.github/tests.sh vendored
View File

@ -24,6 +24,6 @@ echo
curl -I --silent --fail --show-error "http://localhost/#getting_started/auto_wizard/docker_compose_token" > /dev/null
echo
echo "Autowizard executed successful"
echo "Autowizard executed successful :)"
echo

View File

@ -45,7 +45,7 @@ jobs:
- lint-bash-scripts
- lint-docker-files
- lint-docker-compose-file
timeout-minutes: 30
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Checkout
@ -60,3 +60,22 @@ jobs:
run: docker cp .github/auto_wizard.json zammad-docker-compose_zammad-railsserver_1:/opt/zammad
- name: run tests
run: .github/tests.sh
run-remote-image-docker-compose:
needs:
- lint-bash-scripts
- lint-docker-files
- lint-docker-compose-file
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: pull docker-compose images
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