From 065853b021f280db63dae2c8a4bf667166a6bafd Mon Sep 17 00:00:00 2001 From: Jozef Misutka <332350+vidiecan@users.noreply.github.com> Date: Thu, 6 Jun 2024 23:16:05 +0200 Subject: [PATCH] Update deploy.yml [devOps] show healthcheck in a separate step --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ce737a565c2..c8dc6f1f7c5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -104,7 +104,7 @@ jobs: INSTANCE: ${{ env.INSTANCE }} DATADIR: /opt/dspace-data/clarin-dspace/ - - name: dspace command + - name: dspace basic command run: | export DNAME=dspace$INSTANCE docker logs -n 50 $DNAME @@ -124,6 +124,8 @@ jobs: echo "dspace checker:" docker exec $DNAME /bin/bash -c "cd /dspace/bin && ./dspace checker -v -l" + - name: dspace healthcheck + run: | echo "dspace healthcheck:" docker exec $DNAME /bin/bash -c "cd /dspace/bin && ./dspace healthcheck -v"