Skip to content

Commit

Permalink
Add docker compose logs to debug issues with github-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcook committed Oct 17, 2024
1 parent ca72af2 commit 84b48cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
env:
LUAROCKS: 2.2.2
ES_USERNAME: elastic
ES_PASSWORD: Changeme12456!
ES_PASSWORD: "Changeme12456!"
ES_TEST_PROTOCOL: http
ES_TEST_PORT: 9200
CACERT_PATH:
Expand Down Expand Up @@ -42,6 +42,9 @@ jobs:
run: sudo apt-get -y update && sudo apt-get install wget openssl -y
- name: run elasticsearch
run: cd docker && docker compose -f create-certs.yml up && cp docker-compose.yml.${{ matrix.elastic }} docker-compose.yml && docker compose up -d && cd ..
- name: output docker compose logs if the previous step failed
if: failure()
run: cd docker && docker compose logs && cd ..
- name: setup test environment
env:
LUA: ${{ matrix.lua }}
Expand Down

0 comments on commit 84b48cb

Please sign in to comment.