Skip to content

Commit

Permalink
added nodesinfo to master
Browse files Browse the repository at this point in the history
  • Loading branch information
reshmabidikar committed Sep 6, 2024
1 parent 31684cc commit d012195
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,14 @@ jobs:
./bin/retry bundle exec rake test:plugins:catalog-test TESTOPTS="--stop-on-failure"
echo "::endgroup::"
- name: Debugging after failure
if: failure()
run: |
echo "::group::killbill healthcheck"
curl --connect-timeout 10 --max-time 30 -v http://${KB_ADDRESS}:${KB_PORT}/1.0/healthcheck || true
echo "::endgroup::"
echo "::group::killbill nodesinfo"
curl --connect-timeout 10 --max-time 30 -u admin:password -v http://${KB_ADDRESS}:${KB_PORT}/1.0/kb/nodesInfo || true
echo "::endgroup::"
echo "::group::hostname"
hostname
echo "::endgroup::"
Expand All @@ -216,12 +220,13 @@ jobs:
docker exec it-db-1 env || true
echo "::endgroup::"
echo "::group::killbill logs"
(docker logs -t --details it_killbill_1 || true) | tee /var/tmp/killbill.txt
(docker logs -t --details it-killbill-1 || true) | tee /var/tmp/killbill.txt
echo "::endgroup::"
echo "::group::db logs"
docker logs -t --details it-db-1 || true
echo "::endgroup::"
- name: Upload logs
if: failure()
uses: actions/[email protected]
with:
name: killbill-${{ matrix.docker-compose-file }}.txt
Expand Down

0 comments on commit d012195

Please sign in to comment.