Skip to content

Commit f7b0ca8

Browse files
committed
tweaking health status
1 parent d7a675b commit f7b0ca8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build-test.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ jobs:
4646
sudo mkdir /run/anms
4747
- name: Start
4848
run: |
49-
podman compose ${TESTENV_COMPOSE_OPTS} up -d --force-recreate --wait
49+
podman compose ${TESTENV_COMPOSE_OPTS} up -d --force-recreate
5050
podman compose ${ANMS_COMPOSE_OPTS} up -d --force-recreate --wait
5151
- name: Status
52+
if: always()
5253
run: |
5354
for BADSTATUS in stopped restarting; do
5455
podman compose ${ANMS_COMPOSE_OPTS} ps --services --filter status=${BADSTATUS} | tee -a /tmp/notgood
@@ -109,9 +110,10 @@ jobs:
109110
sudo mkdir /run/anms
110111
- name: Start
111112
run: |
112-
docker compose ${TESTENV_COMPOSE_OPTS} up -d --force-recreate --wait
113+
docker compose ${TESTENV_COMPOSE_OPTS} up -d --force-recreate
113114
docker compose ${ANMS_COMPOSE_OPTS} up -d --force-recreate --wait
114115
- name: Status
116+
if: always()
115117
run: |
116118
for BADSTATUS in stopped restarting; do
117119
docker compose ${ANMS_COMPOSE_OPTS} ps --services --filter status=${BADSTATUS} | tee -a /tmp/notgood

deps/reftools.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ CMD ["sh", "-c", "refdm-proxy -l ${DTNMA_LOGLEVEL} -a ${AMP_PROXY_SOCKET}"]
156156

157157
EXPOSE 8089/tcp
158158

159-
HEALTHCHECK --interval=60s --timeout=60s --retries=20 \
159+
HEALTHCHECK --start-period=10s --interval=60s --timeout=60s --retries=20 \
160160
CMD ["curl", "-sq", "-o/dev/null", "http://localhost:8089/nm/api/"]
161161

162162

0 commit comments

Comments
 (0)