-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
31684cc
commit d012195
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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::" | ||
|
@@ -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 | ||
|