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:
parent
8e57219902
commit
d9a7d7ea20
2
.github/tests.sh
vendored
2
.github/tests.sh
vendored
@ -24,6 +24,6 @@ echo
|
|||||||
curl -I --silent --fail --show-error "http://localhost/#getting_started/auto_wizard/docker_compose_token" > /dev/null
|
curl -I --silent --fail --show-error "http://localhost/#getting_started/auto_wizard/docker_compose_token" > /dev/null
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Autowizard executed successful"
|
echo "Autowizard executed successful :)"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
21
.github/workflows/ci.yaml
vendored
21
.github/workflows/ci.yaml
vendored
@ -45,7 +45,7 @@ jobs:
|
|||||||
- lint-bash-scripts
|
- lint-bash-scripts
|
||||||
- lint-docker-files
|
- lint-docker-files
|
||||||
- lint-docker-compose-file
|
- lint-docker-compose-file
|
||||||
timeout-minutes: 30
|
timeout-minutes: 20
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -60,3 +60,22 @@ jobs:
|
|||||||
run: docker cp .github/auto_wizard.json zammad-docker-compose_zammad-railsserver_1:/opt/zammad
|
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
|
||||||
|
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user