annotate scripts/Docker/roundup_healthcheck @ 8566:e4191aa7b402 default tip

doc: issue2551415 correct doc for change input->input_payload in 2.5 the rest interface changed a variable name from input to input_payload. An earlier commit changed the rest docs. This commit adds an item for it to the upgrading 2.4.0->2.5.0 section. Also cross reference added to the rest docs with the updated examples.
author John Rouillard <rouilj@ieee.org>
date Thu, 09 Apr 2026 00:19:06 -0400
parents 8a9fc2d74740
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6797
a24ec63759f6 Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
1 #! /bin/sh
a24ec63759f6 Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
2
8467
8a9fc2d74740 fix: replace localhost with ip address in case localhost is ipv6 addr??
John Rouillard <rouilj@ieee.org>
parents: 7681
diff changeset
3 # change this if you are not using
8a9fc2d74740 fix: replace localhost with ip address in case localhost is ipv6 addr??
John Rouillard <rouilj@ieee.org>
parents: 7681
diff changeset
4 localhost=127.0.0.1
8a9fc2d74740 fix: replace localhost with ip address in case localhost is ipv6 addr??
John Rouillard <rouilj@ieee.org>
parents: 7681
diff changeset
5
7340
7b9bddda9d2d Add support for demo mode in docker.
John Rouillard <rouilj@ieee.org>
parents: 6797
diff changeset
6 # if there are multiple trackers, d=demo t=tracker ...
7b9bddda9d2d Add support for demo mode in docker.
John Rouillard <rouilj@ieee.org>
parents: 6797
diff changeset
7 # returns last one for testing that server is up. Does not test
7b9bddda9d2d Add support for demo mode in docker.
John Rouillard <rouilj@ieee.org>
parents: 6797
diff changeset
8 # each tracker.
6797
a24ec63759f6 Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
9 tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p')
8467
8a9fc2d74740 fix: replace localhost with ip address in case localhost is ipv6 addr??
John Rouillard <rouilj@ieee.org>
parents: 7681
diff changeset
10 wget -q -O /dev/null --proxy off --no-verbose http://$localhost:8080/"${tracker:-demo}"/

Roundup Issue Tracker: http://roundup-tracker.org/