Skip to content

Commit 401f8cc

Browse files
author
Thomas Loubrieu
committed
add docker compose logs
1 parent abbf962 commit 401f8cc

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/integration_tests.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ run() {
6060
docker image inspect nasapds/registry-api-service:latest >/dev/null
6161
echo "launch services"
6262
docker compose \
63-
--ansi always \
63+
--ansi never \
6464
--profile int-registry-batch-loader \
6565
--project-name registry \
66+
--detach --quiet-pull
6667
up || return 5
67-
# --detach --quiet-pull
6868
echo "launch tests"
6969
if docker compose \
70-
--ansi always \
70+
--ansi never \
7171
--profile int-registry-batch-loader \
7272
--project-name registry \
7373
run --rm --no-TTY reg-api-integration-test-with-wait
@@ -76,6 +76,11 @@ run() {
7676
status=$?
7777
else
7878
status=1
79+
docker compose \
80+
--ansi never \
81+
--profile int-registry-batch-loader \
82+
--project-name registry \
83+
logs
7984
fi
8085
echo "run status: ${status}"
8186
clean

0 commit comments

Comments
 (0)