From d9a7d7ea201d8a2a2084ce621c99d38b57e95d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Sat, 7 Mar 2020 13:21:46 +0100 Subject: [PATCH] test dockerhub images too (#146) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fixed indentation * added docker-compose lint Signed-off-by: André Bauer * test dockerhub images too * pull images in separate step * added smilye * lowered timeouts --- .github/tests.sh | 2 +- .github/workflows/ci.yaml | 21 ++++++++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/tests.sh b/.github/tests.sh index e3d44fd..0999ae0 100755 --- a/.github/tests.sh +++ b/.github/tests.sh @@ -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 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c9dbcc3..3c0f5d4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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