Skip to content

Commit

Permalink
print logs at e2e scenario exit
Browse files Browse the repository at this point in the history
  • Loading branch information
kang-makes committed Aug 29, 2024
1 parent d1924ec commit b35696b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions exporters/powerdns/e2e/e2e_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ scenarios:
before:
- docker compose up -d
after:
- >-
docker ps --format json |
jq -r '.Names' |
xargs -I '{}' bash -c '
echo ===========================;
echo CONTAINER: {};
echo ===========================;
docker logs {};
echo;
'
- docker compose down -v
integrations:
- name: nri-powerdns
Expand Down Expand Up @@ -48,6 +58,16 @@ scenarios:
before:
- docker compose up -d
after:
- >-
docker ps --format json |
jq -r '.Names' |
xargs -I '{}' bash -c '
echo ===========================;
echo CONTAINER: {};
echo ===========================;
docker logs {};
echo;
'
- docker compose down -v
integrations:
- name: nri-powerdns
Expand Down Expand Up @@ -82,6 +102,16 @@ scenarios:
before:
- docker compose up -d
after:
- >-
docker ps --format json |
jq -r '.Names' |
xargs -I '{}' bash -c '
echo ===========================;
echo CONTAINER: {};
echo ===========================;
docker logs {};
echo;
'
- docker compose down -v
integrations:
- name: nri-powerdns
Expand Down

0 comments on commit b35696b

Please sign in to comment.